Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[openweathermap] Semantics added to channel types #10972

Merged
merged 1 commit into from
Feb 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -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>

Expand Down Expand Up @@ -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>

Expand All @@ -566,15 +578,15 @@
<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>

<channel-type id="forecasted-cloudiness">
<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>

Expand All @@ -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>

Expand Down Expand Up @@ -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>

Expand Down Expand Up @@ -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>

Expand Down