I was quite proud of myself creating this automation to turn down the heating at 10.30pm if the Hive’s thermometer is over 19C:
alias: Overnight
description: Turn down heating overnight
trigger:
- platform: time
at: "22:30:00"
- platform: device
device_id: xxxxx
domain: climate
entity_id: climate.thermostat_2
type: current_temperature_changed
above: 19
action:
- service: climate.set_temperature
target:
entity_id: climate.thermostat_2
data:
temperature: 19
hvac_mode: heat
mode: single
But I set it up just before it was due to be triggered assuming the trigger was ANDed - I discovered the next day that it’s actually running “Ultimate Dad Mode” and turning down the heating every time someone sets it over 19C!
I appear to need a condition along the lines of:
condition:
- condition: numeric_state
entity_id: climate.thermostat_2.temperature
above: 19
but I receive the error
Message malformed: Entity climate.thermostat_2.temperature is neither a valid entity ID nor a valid UUID for dictionary value @ data[‘condition’][0][‘entity_id’]
Developer Tools states shows me this for climate.thermostat_2, but I have no idea how to check the temperature:
Please someone tell me am I finding the right attributes and how to set the condition!