[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:
@@ -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";
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user