[airquality] Cleanup semantic tags (#12290)

Related to #12262

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo
2022-02-14 07:49:04 +01:00
committed by GitHub
parent ab83767fcf
commit 4330e96ce7

View File

@@ -107,18 +107,12 @@
<channel-type id="index">
<item-type>Number</item-type>
<label>Index</label>
<tags>
<tag>Measurement</tag>
</tags>
<state readOnly="true" pattern="%d" min="0" max="500"/>
</channel-type>
<channel-type id="index-adv" advanced="true">
<item-type>Number</item-type>
<label>Index</label>
<tags>
<tag>Measurement</tag>
</tags>
<state readOnly="true" pattern="%d" min="0" max="500"/>
</channel-type>
@@ -159,19 +153,12 @@
<label>@text/timestampChannelLabel</label>
<description>@text/timestampChannelDescription</description>
<category>time</category>
<tags>
<tag>Status</tag>
<tag>Timestamp</tag>
</tags>
<state readOnly="true"/>
</channel-type>
<channel-type id="dominent">
<item-type>String</item-type>
<label>@text/dominentChannelLabel</label>
<tags>
<tag>Status</tag>
</tags>
<state readOnly="true">
<options>
<option value="pm25">@text/pollutantPm25</option>
@@ -189,10 +176,6 @@
<label>@text/dewPointLabel</label>
<description>@text/dewPointDescription</description>
<category>Temperature</category>
<tags>
<tag>Point</tag>
<tag>Temperature</tag>
</tags>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>