[various] Fix xml validation errors (#18483)

* [various] fix xml errors

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
This commit is contained in:
Andrew Fiddian-Green
2025-04-05 00:21:38 +02:00
committed by GitHub
parent 2730ee3884
commit 139223172f
8 changed files with 23 additions and 19 deletions
@@ -316,7 +316,7 @@
<category>Climate</category>
<tags>
<tag>Control</tag>
<tag>Climate</tag>
<tag>Mode</tag>
</tags>
<state readOnly="false">
<options>
@@ -9,8 +9,8 @@
<label>Temperature</label>
<description>Current Zone Temperature</description>
<tags>
<tag>Temperature</tag>
<tag>Measurement</tag>
<tag>Temperature</tag>
</tags>
<state pattern="%.1f %unit%" readOnly="true"/>
</channel-type>
@@ -19,8 +19,8 @@
<label>Target Temperature</label>
<description>Target Zone Temperature</description>
<tags>
<tag>Setpoint</tag>
<tag>Temperature</tag>
<tag>SetPoint</tag>
</tags>
<state pattern="%.1f %unit%"/>
</channel-type>
@@ -33,7 +33,8 @@
<label>All On</label>
<description>"On" if all lights in this group are "On", otherwise "Off".</description>
<tags>
<tag>Lighting</tag>
<tag>Switch</tag>
<tag>Light</tag>
</tags>
<state readOnly="true"/>
</channel-type>
@@ -43,7 +44,8 @@
<label>Any On</label>
<description>"On" if any light in this group is "On", otherwise "Off".</description>
<tags>
<tag>Lighting</tag>
<tag>Switch</tag>
<tag>Light</tag>
</tags>
<state readOnly="true"/>
</channel-type>
@@ -52,7 +54,8 @@
<item-type>String</item-type>
<label>Recall Scene</label>
<tags>
<tag>Lighting</tag>
<tag>Control</tag>
<tag>Mode</tag>
</tags>
</channel-type>
@@ -180,7 +180,8 @@
<item-type>String</item-type>
<label>Effect Channel</label>
<tags>
<tag>Lighting</tag>
<tag>Status</tag>
<tag>Mode</tag>
</tags>
</channel-type>
@@ -188,7 +189,8 @@
<item-type>Number</item-type>
<label>Effect Speed Channel</label>
<tags>
<tag>Lighting</tag>
<tag>Control</tag>
<tag>Speed</tag>
</tags>
<state min="0" max="10" step="1"/>
</channel-type>
@@ -67,10 +67,6 @@
<item-type>Number:Dimensionless</item-type>
<label>Moisture</label>
<category>Moisture</category>
<tags>
<tag>Measurement</tag>
<tag>Moisture</tag>
</tags>
<state pattern="%.0f %%" readOnly="true"/>
</channel-type>
@@ -159,7 +159,7 @@
</channel-type>
<channel-type id="modulationLevel">
<item-type>Number:DimensionLess</item-type>
<item-type>Number:Dimensionless</item-type>
<label>Modulelation Level</label>
<description>Gets the modulation level of this boiler</description>
<category>heating</category>
@@ -263,7 +263,7 @@
</channel-type>
<channel-type id="valvePosition">
<item-type>Number:DimensionLess</item-type>
<item-type>Number:Dimensionless</item-type>
<label>Valve Position</label>
<description>Gets the position of the valve (0% closed, 100% open)</description>
<category>heating</category>
@@ -115,7 +115,8 @@
<item-type>String</item-type>
<label>Light Mode</label>
<tags>
<tag>Lighting</tag>
<tag>Control</tag>
<tag>Mode</tag>
</tags>
<state>
<options>
@@ -160,7 +161,8 @@
<label>Dynamic Light Mode Speed</label>
<description>Speed of color/intensity changes in dynamic light modes</description>
<tags>
<tag>Lighting</tag>
<tag>Control</tag>
<tag>Speed</tag>
</tags>
</channel-type>
@@ -10,7 +10,7 @@
<description>The date and time of the last update.</description>
<category>Time</category>
<tags>
<tag>Point</tag>
<tag>Status</tag>
<tag>Timestamp</tag>
</tags>
<state readOnly="true" pattern="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"/>
@@ -22,7 +22,8 @@
<description>The date and time of the last update in UTC as submitted by the device. This can be 'now'.</description>
<category>Time</category>
<tags>
<tag>Point</tag>
<tag>Status</tag>
<tag>Timestamp</tag>
</tags>
<state readOnly="true"/>
</channel-type>
@@ -35,7 +36,7 @@
case of 'now', the current time is used.</description>
<category>Time</category>
<tags>
<tag>Point</tag>
<tag>Status</tag>
<tag>Timestamp</tag>
</tags>
<state readOnly="true" pattern="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"/>