[danfossairunit] Add channel descriptions and categories (#11129)
* Use system default channel type for battery level. * Add channel categories where applicable * Add missing channel descriptions (and fix two existing) Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
parent
5f6d9b91ef
commit
44538c5409
|
@ -27,8 +27,8 @@ These are the available configuration parameters:
|
||||||
| manual_fan_speed | main | Dimmer | RW | Value to control the fan speed when in MANUAL mode (10 steps) |
|
| manual_fan_speed | main | Dimmer | RW | Value to control the fan speed when in MANUAL mode (10 steps) |
|
||||||
| supply_fan_speed | main | Number | RO | Current rotation of the fan supplying air to the rooms (in rpm) |
|
| supply_fan_speed | main | Number | RO | Current rotation of the fan supplying air to the rooms (in rpm) |
|
||||||
| extract_fan_speed | main | Number | RO | Current rotation of the fan extracting air from the rooms (in rpm) |
|
| extract_fan_speed | main | Number | RO | Current rotation of the fan extracting air from the rooms (in rpm) |
|
||||||
| supply_fan_step | main | Dimmer | RO | Current 10-step setting of the fan supplying air to the rooms |
|
| supply_fan_step | main | Dimmer | RO | Current step setting of the fan supplying air to the rooms |
|
||||||
| extract_fan_step | main | Dimmer | RO | Current 10-step setting of the fan extracting air from the rooms |
|
| extract_fan_step | main | Dimmer | RO | Current step setting of the fan extracting air from the rooms |
|
||||||
| boost | main | Switch | RW | Enables fan boost |
|
| boost | main | Switch | RW | Enables fan boost |
|
||||||
| night_cooling | main | Switch | RW | Enables night cooling |
|
| night_cooling | main | Switch | RW | Enables night cooling |
|
||||||
| room_temp | temps | Number | RO | Temperature of the air in the room of the Air Dial |
|
| room_temp | temps | Number | RO | Temperature of the air in the room of the Air Dial |
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
<channel-group-type id="service">
|
<channel-group-type id="service">
|
||||||
<label>Service</label>
|
<label>Service</label>
|
||||||
<channels>
|
<channels>
|
||||||
<channel id="battery_life" typeId="percentage">
|
<channel id="battery_life" typeId="system.battery-level">
|
||||||
<label>Battery Life</label>
|
<label>Battery Life</label>
|
||||||
<description>Remaining Air Dial Battery Level</description>
|
<description>Remaining Air Dial Battery Level</description>
|
||||||
</channel>
|
</channel>
|
||||||
|
@ -128,12 +128,14 @@
|
||||||
<channel-type id="currentTime">
|
<channel-type id="currentTime">
|
||||||
<item-type>DateTime</item-type>
|
<item-type>DateTime</item-type>
|
||||||
<label>Current Time</label>
|
<label>Current Time</label>
|
||||||
|
<description>Current time reported by the air unit</description>
|
||||||
|
<category>Time</category>
|
||||||
<state readOnly="true"/>
|
<state readOnly="true"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
<channel-type id="mode">
|
<channel-type id="mode">
|
||||||
<item-type>String</item-type>
|
<item-type>String</item-type>
|
||||||
<label>Mode</label>
|
<label>Mode</label>
|
||||||
<description>Off, Demand, Manual, Program</description>
|
<description>Operation mode of the air unit: Off, Demand, Manual, Program</description>
|
||||||
<state>
|
<state>
|
||||||
<options>
|
<options>
|
||||||
<option value="DEMAND">Demand</option>
|
<option value="DEMAND">Demand</option>
|
||||||
|
@ -146,26 +148,36 @@
|
||||||
<channel-type id="manualFanSpeed">
|
<channel-type id="manualFanSpeed">
|
||||||
<item-type>Dimmer</item-type>
|
<item-type>Dimmer</item-type>
|
||||||
<label>Manual Fan Speed</label>
|
<label>Manual Fan Speed</label>
|
||||||
|
<description>Controls 10-step setting of the fan when operation mode is manual</description>
|
||||||
|
<category>Fan</category>
|
||||||
<state step="10" min="0" max="100"/>
|
<state step="10" min="0" max="100"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
<channel-type id="supplyFanSpeed">
|
<channel-type id="supplyFanSpeed">
|
||||||
<item-type>Number</item-type>
|
<item-type>Number</item-type>
|
||||||
<label>Supply Fan Speed</label>
|
<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"/>
|
<state pattern="%.0f rpm" readOnly="true" min="0"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
<channel-type id="extractFanSpeed">
|
<channel-type id="extractFanSpeed">
|
||||||
<item-type>Number</item-type>
|
<item-type>Number</item-type>
|
||||||
<label>Extract Fan Speed</label>
|
<label>Extract Fan Speed</label>
|
||||||
|
<description>Current rotation of the fan extracting air from the rooms</description>
|
||||||
|
<category>Fan</category>
|
||||||
<state pattern="%.0f rpm" readOnly="true" min="0"/>
|
<state pattern="%.0f rpm" readOnly="true" min="0"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
<channel-type id="supplyFanStep">
|
<channel-type id="supplyFanStep">
|
||||||
<item-type>Dimmer</item-type>
|
<item-type>Dimmer</item-type>
|
||||||
<label>Supply Fan Step</label>
|
<label>Supply Fan Step</label>
|
||||||
|
<description>Current step setting of the fan supplying air to the rooms</description>
|
||||||
|
<category>Fan</category>
|
||||||
<state step="10" min="0" max="100" readOnly="true"/>
|
<state step="10" min="0" max="100" readOnly="true"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
<channel-type id="extractFanStep">
|
<channel-type id="extractFanStep">
|
||||||
<item-type>Dimmer</item-type>
|
<item-type>Dimmer</item-type>
|
||||||
<label>Extract Fan Step</label>
|
<label>Extract Fan Step</label>
|
||||||
|
<description>Current step setting of the fan extracting air from the rooms</description>
|
||||||
|
<category>Fan</category>
|
||||||
<state step="10" min="0" max="100" readOnly="true"/>
|
<state step="10" min="0" max="100" readOnly="true"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
<channel-type id="percentage">
|
<channel-type id="percentage">
|
||||||
|
@ -192,6 +204,7 @@
|
||||||
<item-type>Number:Temperature</item-type>
|
<item-type>Number:Temperature</item-type>
|
||||||
<label>Temperature</label>
|
<label>Temperature</label>
|
||||||
<description>Current temperature</description>
|
<description>Current temperature</description>
|
||||||
|
<category>Temperature</category>
|
||||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||||
</channel-type>
|
</channel-type>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue