Provide unit hints for RSSI channel types (#17826)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2024-12-02 09:13:29 +01:00 committed by GitHub
parent c991856e0e
commit 22e88bceca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 8 additions and 8 deletions

View File

@ -4,7 +4,7 @@
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
<channel-type id="type-rssi">
<item-type>Number:Power</item-type>
<item-type unitHint="dBm">Number:Power</item-type>
<label>Received Signal Strength Indicator</label>
<category>QualityOfService</category>
<state pattern="%d %unit%" readOnly="true">

View File

@ -296,7 +296,7 @@
</channel-type>
<channel-type id="wifi-rssi" advanced="true">
<item-type>Number:Power</item-type>
<item-type unitHint="dBm">Number:Power</item-type>
<label>Wi-Fi Signal Strength</label>
<description>Received signal strength indicator for Wi-Fi</description>
<category>QualityOfService</category>

View File

@ -27,7 +27,7 @@
</channel-type>
<channel-type id="rssi">
<item-type>Number:Power</item-type>
<item-type unitHint="dBm">Number:Power</item-type>
<label>RSSI</label>
<description>Received signal strength indicator</description>
<category>QualityOfService</category>

View File

@ -67,7 +67,7 @@
</channel-type>
<channel-type id="rssi" advanced="true">
<item-type>Number:Power</item-type>
<item-type unitHint="dBm">Number:Power</item-type>
<label>RSSI</label>
<description>Received Signal Strength Indicator</description>
<category>QualityOfService</category>

View File

@ -507,7 +507,7 @@
</channel-type>
<channel-type id="rssi" advanced="true">
<item-type>Number:Power</item-type>
<item-type unitHint="dBm">Number:Power</item-type>
<label>Signal</label>
<description>Signal strength indicator.</description>
<category>QualityOfService</category>

View File

@ -51,7 +51,7 @@
<!-- Misc Channel types -->
<channel-type id="rssi" advanced="true">
<item-type>Number:Power</item-type>
<item-type unitHint="dBm">Number:Power</item-type>
<label>Signal</label>
<description>Wi-Fi signal strength indicator.</description>
<category>QualityOfService</category>

View File

@ -362,7 +362,7 @@
</channel-type>
<channel-type id="rssi">
<item-type>Number:Power</item-type>
<item-type unitHint="dBm">Number:Power</item-type>
<label>Received Signal Strength Indicator</label>
<description>Received Signal Strength Indicator (RSSI) of the wireless client</description>
<category>QualityOfService</category>

View File

@ -251,7 +251,7 @@
</channel-type>
<channel-type id="rssi" advanced="true">
<item-type>Number:Power</item-type>
<item-type unitHint="dBm">Number:Power</item-type>
<label>RSSI in dBm</label>
<category>Number</category>
<state readOnly="true"/>