[homeassistant/homie] Standardize config URI (#11021)

* [homeassistant/homie] Standardize config URI

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo
2021-07-24 21:27:01 +02:00
committed by GitHub
parent 3d3cdf3889
commit e23a0de94a
4 changed files with 4 additions and 4 deletions

View File

@@ -29,5 +29,5 @@ public class MqttBindingConstants {
// List of all Thing Type UIDs
public static final ThingTypeUID HOMEASSISTANT_MQTT_THING = new ThingTypeUID(BINDING_ID, "homeassistant");
public static final String CONFIG_HA_CHANNEL = "mqtt:ha_channel";
public static final String CONFIG_HA_CHANNEL = "channel-type:mqtt:ha-channel";
}

View File

@@ -4,7 +4,7 @@
xmlns:config-description="https://openhab.org/schemas/config-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/config-description/v1.0.0 https://openhab.org/schemas/config-description-1.0.0.xsd">
<config-description uri="mqtt:ha_channel">
<config-description uri="channel-type:mqtt:ha-channel">
<parameter name="component" type="text" readOnly="true" required="true">
<label>Component</label>
<description>HomeAssistant component type (e.g. binary_sensor, switch, light)</description>