]> git.basschouten.com Git - openhab-addons.git/commitdiff
[mqtt.homeassistant] update example config topic (#16128)
authorCody Cutrer <cody@cutrer.us>
Wed, 27 Dec 2023 23:52:39 +0000 (16:52 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Dec 2023 23:52:39 +0000 (00:52 +0100)
The prefix (homeassistant/) and the suffix (/config) are
automatically added

Signed-off-by: Cody Cutrer <cody@cutrer.us>
bundles/org.openhab.binding.mqtt.homeassistant/src/main/resources/OH-INF/config/homeassistant-thing-config.xml
bundles/org.openhab.binding.mqtt.homeassistant/src/main/resources/OH-INF/i18n/mqtt.properties

index f523cbf1155d7466ac9f4fe6aa9e2877d36050a1..c09fccc5cb209e9ba32177d0ce751ee010e0ef81 100644 (file)
@@ -7,7 +7,7 @@
        <config-description uri="thing-type:mqtt:homeassistant">
                <parameter name="topics" type="text" required="true" multiple="true">
                        <label>MQTT Config Topic</label>
-                       <description>List of HomeAssistant configuration topics (e.g. /homeassistant/switch/4711/config)</description>
+                       <description>List of Home Assistant configuration topics (e.g. button/my-device/restart)</description>
                </parameter>
 
                <parameter name="basetopic" type="text" required="true">
@@ -24,7 +24,7 @@
 
                <parameter name="topics" type="text" required="true" multiple="true">
                        <label>MQTT Config Topic</label>
-                       <description>List of HomeAssistant configuration topics (e.g. /homeassistant/switch/4711/config)</description>
+                       <description>List of Home Assistant configuration topics (e.g. button/my-device/restart)</description>
                </parameter>
 
                <parameter name="basetopic" type="text" required="true">
index 8fabdeed27c18bbc489a43f7703a520e4a1f1142..f5b418c2e6a23b90a58c6ecdbd54b09278573dd3 100644 (file)
@@ -8,11 +8,11 @@ thing-type.mqtt.homeassistant.description = You need a configured Broker first.
 thing-type.config.mqtt.homeassistant.basetopic.label = MQTT Base Prefix
 thing-type.config.mqtt.homeassistant.basetopic.description = MQTT base prefix
 thing-type.config.mqtt.homeassistant.topics.label = MQTT Config Topic
-thing-type.config.mqtt.homeassistant.topics.description = List of HomeAssistant configuration topics (e.g. /homeassistant/switch/4711/config)
+thing-type.config.mqtt.homeassistant.topics.description = List of Home Assistant configuration topics (e.g. button/my-device/restart)
 thing-type.config.mqtt.homeassistant-updatable.basetopic.label = MQTT Base Prefix
 thing-type.config.mqtt.homeassistant-updatable.basetopic.description = MQTT base prefix
 thing-type.config.mqtt.homeassistant-updatable.topics.label = MQTT Config Topic
-thing-type.config.mqtt.homeassistant-updatable.topics.description = List of HomeAssistant configuration topics (e.g. /homeassistant/switch/4711/config)
+thing-type.config.mqtt.homeassistant-updatable.topics.description = List of Home Assistant configuration topics (e.g. button/my-device/restart)
 thing-type.config.mqtt.homeassistant-updatable.doUpdate.label = Update
 thing-type.config.mqtt.homeassistant-updatable.doUpdate.description = Request the device do an OTA update