Use system channel types for humidity and outdoor temperature (#12277)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2022-02-13 19:56:51 +01:00 committed by GitHub
parent 7d3f3c56a7
commit b750d85a11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 14 deletions

View File

@ -19,7 +19,7 @@ thing-type.config.danfossairunit.airunit.updateUnchangedValuesEveryMillis.descri
# channel group types
channel-group-type.danfossairunit.humidity.label = Humidity
channel-group-type.danfossairunit.humidity.channel.humidity.label = Humidity
channel-group-type.danfossairunit.humidity.channel.humidity.description = Current relative humidity measured by the air unit
channel-group-type.danfossairunit.main.label = Mode and Fan Speeds
channel-group-type.danfossairunit.main.channel.boost.label = Boost

View File

@ -80,7 +80,7 @@
<label>Calculated Room Temperature</label>
<description>Calculated Room Temperature</description>
</channel>
<channel id="outdoor_temp" typeId="temperature">
<channel id="outdoor_temp" typeId="system.outdoor-temperature">
<label>Outdoor Temperature</label>
<description>Temperature of the air outside</description>
</channel>
@ -89,7 +89,8 @@
<channel-group-type id="humidity">
<label>Humidity</label>
<channels>
<channel id="humidity" typeId="humidity">
<channel id="humidity" typeId="system.atmospheric-humidity">
<label>Humidity</label>
<description>Current relative humidity measured by the air unit</description>
</channel>
</channels>
@ -200,17 +201,6 @@
<description>Read only percentage</description>
<state pattern="%.0f %%" readOnly="true" min="0" max="100"/>
</channel-type>
<channel-type id="humidity">
<item-type>Number:Dimensionless</item-type>
<label>Humidity</label>
<category>Humidity</category>
<tags>
<tag>Measurement</tag>
<tag>Humidity</tag>
</tags>
<state pattern="%.0f %%" readOnly="true" min="0" max="100">
</state>
</channel-type>
<channel-type id="switch">
<item-type>Switch</item-type>
<label>Something that can be turned on or off</label>