mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[mqtt.espmilighthub] fix upgrade instructions (#16127)
since #13801, it's not been possible to add new milight things, because the thing XML already has the new channel types, but not the thingTypeVersion property set, so it would try to apply the update instructions and error about duplicate channels Signed-off-by: Cody Cutrer <cody@cutrer.us>
This commit is contained in:
parent
6540d0dda9
commit
e81550fc98
@ -19,6 +19,9 @@
|
||||
<channel id="bulbMode" typeId="bulbMode"/>
|
||||
<channel id="command" typeId="command"/>
|
||||
</channels>
|
||||
<properties>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
<config-description-ref uri="thing-type:mqtt:rgbandcct"/>
|
||||
</thing-type>
|
||||
|
||||
@ -37,6 +40,9 @@
|
||||
<channel id="bulbMode" typeId="bulbMode"/>
|
||||
<channel id="command" typeId="command"/>
|
||||
</channels>
|
||||
<properties>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
<config-description-ref uri="thing-type:mqtt:rgbandcct"/>
|
||||
</thing-type>
|
||||
|
||||
@ -53,6 +59,9 @@
|
||||
<channel id="colourTemperatureAbs" typeId="system.color-temperature-abs"/>
|
||||
<channel id="command" typeId="command"/>
|
||||
</channels>
|
||||
<properties>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
<config-description-ref uri="thing-type:mqtt:cct"/>
|
||||
</thing-type>
|
||||
|
||||
@ -69,6 +78,9 @@
|
||||
<channel id="colourTemperatureAbs" typeId="system.color-temperature-abs"/>
|
||||
<channel id="command" typeId="command"/>
|
||||
</channels>
|
||||
<properties>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
<config-description-ref uri="thing-type:mqtt:cct"/>
|
||||
</thing-type>
|
||||
|
||||
@ -85,6 +97,9 @@
|
||||
<channel id="bulbMode" typeId="bulbMode"/>
|
||||
<channel id="command" typeId="command"/>
|
||||
</channels>
|
||||
<properties>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
<config-description-ref uri="thing-type:mqtt:rgbw"/>
|
||||
</thing-type>
|
||||
|
||||
@ -101,6 +116,9 @@
|
||||
<channel id="bulbMode" typeId="bulbMode"/>
|
||||
<channel id="command" typeId="command"/>
|
||||
</channels>
|
||||
<properties>
|
||||
<property name="thingTypeVersion">1</property>
|
||||
</properties>
|
||||
<config-description-ref uri="thing-type:mqtt:rgb"/>
|
||||
</thing-type>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user