Skip to content

Commit

Permalink
Provide unit hints for rpm channels (#18175)
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Laursen <[email protected]>
  • Loading branch information
jlaur authored Jan 24, 2025
1 parent de951f5 commit 31486a9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -557,15 +557,15 @@
</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>
<state readOnly="true" pattern="%.0f rpm"/>
</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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down

0 comments on commit 31486a9

Please sign in to comment.