Add semantic tags (#18324)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen
2025-03-23 13:59:59 +01:00
committed by GitHub
parent bcff21df8c
commit fe89dd1f85
3 changed files with 122 additions and 53 deletions
@@ -25,14 +25,8 @@ 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
channel-group-type.danfossairunit.main.channel.boost.description = Enables fan boost
channel-group-type.danfossairunit.main.channel.night_cooling.label = Night Cooling
channel-group-type.danfossairunit.main.channel.night_cooling.description = Enables night cooling
channel-group-type.danfossairunit.recuperator.label = Recuperator
channel-group-type.danfossairunit.recuperator.description = Heat exchaning device in the Air Unit
channel-group-type.danfossairunit.recuperator.channel.bypass.label = Bypass
channel-group-type.danfossairunit.recuperator.channel.bypass.description = Disables the heat exchange. Useful in summer when room temperature is above target and outside temperature is below target.
channel-group-type.danfossairunit.recuperator.channel.exhaust_temp.label = Exhaust Air Temperature
channel-group-type.danfossairunit.recuperator.channel.exhaust_temp.description = Temperature of the air when pushed outside
channel-group-type.danfossairunit.recuperator.channel.extract_temp.label = Extract Air Temperature
@@ -42,18 +36,20 @@ channel-group-type.danfossairunit.recuperator.channel.supply_temp.description =
channel-group-type.danfossairunit.service.label = Service
channel-group-type.danfossairunit.service.channel.battery_life.label = Battery Life
channel-group-type.danfossairunit.service.channel.battery_life.description = Remaining Air Dial Battery Level
channel-group-type.danfossairunit.service.channel.filter_life.label = Remaining Filter Life
channel-group-type.danfossairunit.service.channel.filter_life.description = Remaining life of filter until exchange is necessary
channel-group-type.danfossairunit.temps.label = Temperatures
channel-group-type.danfossairunit.temps.channel.outdoor_temp.label = Outdoor Temperature
channel-group-type.danfossairunit.temps.channel.outdoor_temp.description = Temperature of the air outside
channel-group-type.danfossairunit.temps.channel.room_temp.label = Room Temperature
channel-group-type.danfossairunit.temps.channel.room_temp.description = Temperature of the air in the room of the Air Dial
channel-group-type.danfossairunit.temps.channel.room_temp_calculated.label = Calculated Room Temperature
channel-group-type.danfossairunit.temps.channel.room_temp_calculated.description = Calculated Room Temperature
# channel types
channel-type.danfossairunit.boost.label = Boost
channel-type.danfossairunit.boost.description = Enables fan boost
channel-type.danfossairunit.bypass.label = Bypass
channel-type.danfossairunit.bypass.description = Disables the heat exchange. Useful in summer when room temperature is above target and outside temperature is below target
channel-type.danfossairunit.calculated-temperature.label = Calculated Room Temperature
channel-type.danfossairunit.calculated-temperature.description = Calculated Room Temperature
channel-type.danfossairunit.currentTime.label = Current Time
channel-type.danfossairunit.currentTime.description = Current time reported by the air unit
channel-type.danfossairunit.defrost.label = Defrost
@@ -62,25 +58,24 @@ channel-type.danfossairunit.extractFanSpeed.label = Extract Fan Speed
channel-type.danfossairunit.extractFanSpeed.description = Current rotation of the fan extracting air from the rooms
channel-type.danfossairunit.extractFanStep.label = Extract Fan Step
channel-type.danfossairunit.extractFanStep.description = Current step setting of the fan extracting air from the rooms
channel-type.danfossairunit.filter-life.label = Remaining Filter Life
channel-type.danfossairunit.filter-life.description = Remaining life of filter until exchange is necessary
channel-type.danfossairunit.filterPeriod.label = Filter Period
channel-type.danfossairunit.filterPeriod.description = Number of months between filter replacements
channel-type.danfossairunit.manualFanStep.label = Manual Fan Step
channel-type.danfossairunit.manualFanStep.description = Controls 10-step setting of the fan when operation mode is manual
channel-type.danfossairunit.manual-fan-step.label = Manual Fan Step
channel-type.danfossairunit.manual-fan-step.description = Controls 10-step setting of the fan when operation mode is manual
channel-type.danfossairunit.mode.label = Mode
channel-type.danfossairunit.mode.description = Operation mode of the air unit: Off, Demand, Manual, Program
channel-type.danfossairunit.mode.state.option.DEMAND = Demand
channel-type.danfossairunit.mode.state.option.PROGRAM = Program
channel-type.danfossairunit.mode.state.option.MANUAL = Manual
channel-type.danfossairunit.mode.state.option.OFF = Off
channel-type.danfossairunit.percentage.label = Percentage
channel-type.danfossairunit.percentage.description = Read only percentage
channel-type.danfossairunit.night-cooling.label = Night Cooling
channel-type.danfossairunit.night-cooling.description = Enables night cooling
channel-type.danfossairunit.supplyFanSpeed.label = Supply Fan Speed
channel-type.danfossairunit.supplyFanSpeed.description = Current rotation of the fan supplying air to the rooms
channel-type.danfossairunit.supplyFanStep.label = Supply Fan Step
channel-type.danfossairunit.supplyFanStep.description = Current step setting of the fan supplying air to the rooms
channel-type.danfossairunit.switch.label = Something that can be turned on or off
channel-type.danfossairunit.temperature.label = Temperature
channel-type.danfossairunit.temperature.description = Current temperature
# discovery result
@@ -19,7 +19,7 @@
<properties>
<property name="vendor">Danfoss</property>
<property name="thingTypeVersion">3</property>
<property name="thingTypeVersion">4</property>
</properties>
<representation-property>serialNumber</representation-property>
@@ -58,39 +58,32 @@
<channels>
<channel id="current_time" typeId="currentTime"/>
<channel id="mode" typeId="mode"/>
<channel id="manual_fan_step" typeId="manualFanStep"/>
<channel id="manual_fan_step" typeId="manual-fan-step"/>
<channel id="supply_fan_speed" typeId="supplyFanSpeed"/>
<channel id="extract_fan_speed" typeId="extractFanSpeed"/>
<channel id="supply_fan_step" typeId="supplyFanStep"/>
<channel id="extract_fan_step" typeId="extractFanStep"/>
<channel id="boost" typeId="switch">
<label>Boost</label>
<description>Enables fan boost</description>
</channel>
<channel id="night_cooling" typeId="switch">
<label>Night Cooling</label>
<description>Enables night cooling</description>
</channel>
<channel id="boost" typeId="boost"/>
<channel id="night_cooling" typeId="night-cooling"/>
</channels>
</channel-group-type>
<channel-group-type id="temps">
<label>Temperatures</label>
<category>Temperature</category>
<channels>
<channel id="room_temp" typeId="temperature">
<channel id="room_temp" typeId="system.indoor-temperature">
<label>Room Temperature</label>
<description>Temperature of the air in the room of the Air Dial</description>
</channel>
<channel id="room_temp_calculated" typeId="temperature">
<label>Calculated Room Temperature</label>
<description>Calculated Room Temperature</description>
</channel>
<channel id="room_temp_calculated" typeId="calculated-temperature"/>
<channel id="outdoor_temp" typeId="system.outdoor-temperature">
<label>Outdoor Temperature</label>
<description>Temperature of the air outside</description>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="humidity">
<label>Humidity</label>
<channels>
@@ -100,30 +93,28 @@
</channel>
</channels>
</channel-group-type>
<channel-group-type id="recuperator">
<label>Recuperator</label>
<description>Heat exchaning device in the Air Unit</description>
<channels>
<channel id="bypass" typeId="switch">
<label>Bypass</label>
<description>Disables the heat exchange. Useful in summer when room temperature is above target and outside
temperature is below target.</description>
</channel>
<channel id="bypass" typeId="bypass"/>
<channel id="defrost" typeId="defrost"/>
<channel id="supply_temp" typeId="temperature">
<channel id="supply_temp" typeId="system.indoor-temperature">
<label>Supply Air Temperature</label>
<description>Temperature of air which is passed to the rooms</description>
</channel>
<channel id="extract_temp" typeId="temperature">
<channel id="extract_temp" typeId="system.indoor-temperature">
<label>Extract Air Temperature</label>
<description>Temperature of the air as extracted from the rooms</description>
</channel>
<channel id="exhaust_temp" typeId="temperature">
<channel id="exhaust_temp" typeId="system.outdoor-temperature">
<label>Exhaust Air Temperature</label>
<description>Temperature of the air when pushed outside</description>
</channel>
</channels>
</channel-group-type>
<channel-group-type id="service">
<label>Service</label>
<channels>
@@ -131,10 +122,7 @@
<label>Battery Life</label>
<description>Remaining Air Dial Battery Level</description>
</channel>
<channel id="filter_life" typeId="percentage">
<label>Remaining Filter Life</label>
<description>Remaining life of filter until exchange is necessary</description>
</channel>
<channel id="filter_life" typeId="filter-life"/>
<channel id="filter_period" typeId="filterPeriod"/>
</channels>
</channel-group-type>
@@ -147,10 +135,15 @@
<category>Time</category>
<state readOnly="true"/>
</channel-type>
<channel-type id="mode">
<item-type>String</item-type>
<label>Mode</label>
<description>Operation mode of the air unit: Off, Demand, Manual, Program</description>
<tags>
<tag>Control</tag>
<tag>Mode</tag>
</tags>
<state>
<options>
<option value="DEMAND">Demand</option>
@@ -160,13 +153,19 @@
</options>
</state>
</channel-type>
<channel-type id="manualFanStep">
<channel-type id="manual-fan-step">
<item-type>Dimmer</item-type>
<label>Manual Fan Step</label>
<description>Controls 10-step setting of the fan when operation mode is manual</description>
<category>Fan</category>
<tags>
<tag>Control</tag>
<tag>Level</tag>
</tags>
<state step="10" min="0" max="100"/>
</channel-type>
<channel-type id="supplyFanSpeed">
<item-type unitHint="rpm">Number:Frequency</item-type>
<label>Supply Fan Speed</label>
@@ -174,6 +173,7 @@
<category>Fan</category>
<state pattern="%.0f rpm" readOnly="true" min="0"/>
</channel-type>
<channel-type id="extractFanSpeed">
<item-type unitHint="rpm">Number:Frequency</item-type>
<label>Extract Fan Speed</label>
@@ -181,6 +181,7 @@
<category>Fan</category>
<state pattern="%.0f rpm" readOnly="true" min="0"/>
</channel-type>
<channel-type id="supplyFanStep">
<item-type>Dimmer</item-type>
<label>Supply Fan Step</label>
@@ -188,6 +189,7 @@
<category>Fan</category>
<state step="10" min="0" max="100" readOnly="true"/>
</channel-type>
<channel-type id="extractFanStep">
<item-type>Dimmer</item-type>
<label>Extract Fan Step</label>
@@ -195,26 +197,44 @@
<category>Fan</category>
<state step="10" min="0" max="100" readOnly="true"/>
</channel-type>
<channel-type id="filterPeriod" advanced="true">
<item-type>Number</item-type>
<label>Filter Period</label>
<description>Number of months between filter replacements</description>
<state pattern="%d" min="3" max="12"/>
</channel-type>
<channel-type id="percentage">
<channel-type id="filter-life">
<item-type>Number</item-type>
<label>Percentage</label>
<description>Read only percentage</description>
<label>Remaining Filter Life</label>
<description>Remaining life of filter until exchange is necessary</description>
<state pattern="%.0f %%" readOnly="true" min="0" max="100"/>
</channel-type>
<channel-type id="switch">
<channel-type id="boost">
<item-type>Switch</item-type>
<label>Something that can be turned on or off</label>
<label>Boost</label>
<description>Enables fan boost</description>
</channel-type>
<channel-type id="temperature">
<channel-type id="night-cooling">
<item-type>Switch</item-type>
<label>Night Cooling</label>
<description>Enables night cooling</description>
</channel-type>
<channel-type id="bypass">
<item-type>Switch</item-type>
<label>Bypass</label>
<description>Disables the heat exchange. Useful in summer when room temperature is above target and outside
temperature is below target</description>
</channel-type>
<channel-type id="calculated-temperature">
<item-type>Number:Temperature</item-type>
<label>Temperature</label>
<description>Current temperature</description>
<label>Calculated Room Temperature</label>
<description>Calculated Room Temperature</description>
<category>Temperature</category>
<state readOnly="true" pattern="%.1f %unit%"/>
</channel-type>
@@ -25,6 +25,60 @@
</add-channel>
</instruction-set>
<instruction-set targetVersion="4">
<update-channel id="mode" groupIds="main">
<type>danfossairunit:mode</type>
</update-channel>
<update-channel id="manual_fan_step" groupIds="main">
<type>danfossairunit:manual-fan-step</type>
</update-channel>
<update-channel id="boost" groupIds="main">
<type>danfossairunit:boost</type>
</update-channel>
<update-channel id="night_cooling" groupIds="main">
<type>danfossairunit:night-cooling</type>
</update-channel>
<update-channel id="room_temp" groupIds="temps">
<type>system:indoor-temperature</type>
<label>Room Temperature</label>
<description>Temperature of the air in the room of the Air Dial</description>
</update-channel>
<update-channel id="room_temp_calculated" groupIds="temps">
<type>danfossairunit:calculated-temperature</type>
</update-channel>
<update-channel id="bypass" groupIds="recuperator">
<type>danfossairunit:bypass</type>
</update-channel>
<update-channel id="supply_temp" groupIds="recuperator">
<type>system:indoor-temperature</type>
<label>Supply Air Temperature</label>
<description>Temperature of air which is passed to the rooms</description>
</update-channel>
<update-channel id="extract_temp" groupIds="recuperator">
<type>system:indoor-temperature</type>
<label>Extract Air Temperature</label>
<description>Temperature of the air as extracted from the rooms</description>
</update-channel>
<update-channel id="exhaust_temp" groupIds="recuperator">
<type>system:outdoor-temperature</type>
<label>Exhaust Air Temperature</label>
<description>Temperature of the air when pushed outside</description>
</update-channel>
<update-channel id="filter_life" groupIds="service">
<type>danfossairunit:filter-life</type>
</update-channel>
</instruction-set>
</thing-type>
</update:update-descriptions>