Provide unit hints for rpm channels (#18175)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
pull/18181/head
Jacob Laursen 2025-01-24 17:22:59 +01:00 committed by GitHub
parent de951f5904
commit 31486a9b40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 6 additions and 6 deletions

View File

@ -557,7 +557,7 @@
</channel-type>
<channel-type id="fan_in_RPM" advanced="true">
<item-type>Number:Frequency</item-type>
<item-type unitHint="rpm">Number:Frequency</item-type>
<label>Fan In (rpm)</label>
<description>Current rotational speed of incoming fan</description>
<category>Number</category>
@ -565,7 +565,7 @@
</channel-type>
<channel-type id="fan_out_RPM" advanced="true">
<item-type>Number:Frequency</item-type>
<item-type unitHint="rpm">Number:Frequency</item-type>
<label>Fan Out (rpm)</label>
<description>Current rotational speed of outgoing fan</description>
<category>Number</category>

View File

@ -159,14 +159,14 @@
<state step="10" min="0" max="100"/>
</channel-type>
<channel-type id="supplyFanSpeed">
<item-type>Number:Frequency</item-type>
<item-type unitHint="rpm">Number:Frequency</item-type>
<label>Supply Fan Speed</label>
<description>Current rotation of the fan supplying air to the rooms</description>
<category>Fan</category>
<state pattern="%.0f rpm" readOnly="true" min="0"/>
</channel-type>
<channel-type id="extractFanSpeed">
<item-type>Number:Frequency</item-type>
<item-type unitHint="rpm">Number:Frequency</item-type>
<label>Extract Fan Speed</label>
<description>Current rotation of the fan extracting air from the rooms</description>
<category>Fan</category>

View File

@ -61,7 +61,7 @@
</channel-type>
<channel-type id="filterSpeedRpm">
<item-type>Number:Frequency</item-type>
<item-type unitHint="rpm">Number:Frequency</item-type>
<label>Filter Speed</label>
<description>Filter speed in rpm</description>
<state min="0" max="3600" step="200" pattern="%d rpm" readOnly="false"/>

View File

@ -46,7 +46,7 @@
</channel-type>
<channel-type id="pumpSpeedRpm">
<item-type>Number:Frequency</item-type>
<item-type unitHint="rpm">Number:Frequency</item-type>
<label>Pump Speed</label>
<description>Pump speed in rpm</description>
<state min="0" max="3600" step="200" pattern="%d rpm" readOnly="false"/>