[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:
parent
3d3cdf3889
commit
e23a0de94a
@ -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>
|
||||
|
||||
@ -29,7 +29,7 @@ public class MqttBindingConstants {
|
||||
// List of all Thing Type UIDs
|
||||
public static final ThingTypeUID HOMIE300_MQTT_THING = new ThingTypeUID(BINDING_ID, "homie300");
|
||||
|
||||
public static final String CONFIG_HOMIE_CHANNEL = "mqtt:homie_channel";
|
||||
public static final String CONFIG_HOMIE_CHANNEL = "channel-type:mqtt:homie-channel";
|
||||
|
||||
public static final String HOMIE_PROPERTY_VERSION = "homieversion";
|
||||
public static final String HOMIE_PROPERTY_HEARTBEAT_INTERVAL = "heartbeat_interval";
|
||||
|
||||
@ -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:homie_channel">
|
||||
<config-description uri="channel-type:mqtt:homie-channel">
|
||||
<parameter name="unit" type="text">
|
||||
<label>Unit</label>
|
||||
<description>The channels unit</description>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user