[openweathermap] Semantics added to channel types (#10972)
Also fix few categories to use only official categories Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
60f9f60faf
commit
99cfb65aba
|
@ -455,6 +455,10 @@
|
|||
<label>Apparent Temperature</label>
|
||||
<description>Current apparent temperature.</description>
|
||||
<category>Temperature</category>
|
||||
<tags>
|
||||
<tag>Measurement</tag>
|
||||
<tag>Temperature</tag>
|
||||
</tags>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
|
@ -502,7 +506,11 @@
|
|||
<item-type>Number:Length</item-type>
|
||||
<label>Precipitation</label>
|
||||
<description>Precipitation volume of the related timespan.</description>
|
||||
<category>Precipitation</category>
|
||||
<category>Rain</category>
|
||||
<tags>
|
||||
<tag>Measurement</tag>
|
||||
<tag>Rain</tag>
|
||||
</tags>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
|
@ -551,6 +559,10 @@
|
|||
<label>Gust Speed</label>
|
||||
<description>Current gust speed.</description>
|
||||
<category>Wind</category>
|
||||
<tags>
|
||||
<tag>Measurement</tag>
|
||||
<tag>Wind</tag>
|
||||
</tags>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
|
@ -566,7 +578,7 @@
|
|||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Cloudiness</label>
|
||||
<description>Current cloudiness.</description>
|
||||
<category>Clouds</category>
|
||||
<category>Sun_Clouds</category>
|
||||
<state readOnly="true" min="0" max="100" pattern="%d %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
|
@ -574,7 +586,7 @@
|
|||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Forecasted Cloudiness</label>
|
||||
<description>Forecasted cloudiness.</description>
|
||||
<category>Clouds</category>
|
||||
<category>Sun_Clouds</category>
|
||||
<state readOnly="true" min="0" max="100" pattern="%d %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
|
@ -583,6 +595,10 @@
|
|||
<label>Rain</label>
|
||||
<description>Rain volume of the last hour.</description>
|
||||
<category>Rain</category>
|
||||
<tags>
|
||||
<tag>Measurement</tag>
|
||||
<tag>Rain</tag>
|
||||
</tags>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
|
@ -614,6 +630,10 @@
|
|||
<item-type>Number</item-type>
|
||||
<label>UV Index</label>
|
||||
<description>Current UV Index.</description>
|
||||
<tags>
|
||||
<tag>Measurement</tag>
|
||||
<tag>Ultraviolet</tag>
|
||||
</tags>
|
||||
<state readOnly="true" pattern="%.1f"/>
|
||||
</channel-type>
|
||||
|
||||
|
@ -686,6 +706,10 @@
|
|||
<item-type>Number:Density</item-type>
|
||||
<label>Carbon Monoxide</label>
|
||||
<description>Current concentration of carbon monoxide.</description>
|
||||
<tags>
|
||||
<tag>Measurement</tag>
|
||||
<tag>CO</tag>
|
||||
</tags>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
|
|
Loading…
Reference in New Issue