All the controls are working
Save for getting the outside unit’s temperature. I also tried to get the data from the device_state attribute but I think the templating engine interprets it as a string, rather than a json/dict.
Here’s my configuration (excerpt):
device:
status:
status_template: '{{ device_state.Devices.1 }}'
attributes:
current_outside_temperature:
type: number
stastus_template: '{{ device_state.Temperatures.2.current }}'
Here’s the (abbreviated) response to GET /devices:
{
"Devices": [
{
},
{
"Mode": {
"modes": [
"Opmode_Auto",
"Dhw_Opmode_Not_Supported",
"Away_Off"
],
"options": [
"Volume_100"
],
"supportedModes": [
"Opmode_Auto",
"Opmode_Cool",
"Opmode_Heat",
"Dhw_Opmode_Not_Supported",
"Away_On",
"Away_Off"
]
},
"Operation": {
"dhwPower": "Not_Supported",
"power": "Off"
},
"Temperatures": [
{
"current": 23.6,
"desired": -1000,
"id": "0",
"increment": 1,
"maximum": -1000,
"minimum": -1000,
"name": "INDOOR",
"unit": "Celsius"
},
{
"current": -1000,
"desired": -500,
"id": "1",
"increment": 1,
"maximum": -500,
"minimum": -500,
"name": "DHW",
"unit": "Celsius"
},
{
"current": 27.5,
"desired": -500,
"id": "2",
"increment": 1,
"maximum": -500,
"minimum": -500,
"name": "OUTDOOR",
"unit": "Celsius"
}
],
"Wind": {
"direction": "Off",
"speedLevel": 48,
"supportedWindModes": [
"48",
"Off"
]
},
"description": "EHS",
"id": "032000000",
"name": "32:00:00",
"resources": [
"Operation",
"Wind",
"Mode",
"Temperatures",
"Information",
"Configuration",
"Alarms"
],
"type": "Air_Conditioner",
"uuid": ""
},
{
}
]
}
One more question - What’s the use of target_temp_high
and target_temp_low
? I looked at other hass components but there doesn’t seem to be a clear answer, what it can be used for.