[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:
Cody Cutrer
2024-01-04 13:28:24 +01:00
committed by tom
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>