[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
dff578d933
commit
eac0d2564c
|
@ -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