This time based automation is not firing at 4am as it should.
I’ve checked that the service calls, if I “run automation” it works but left to time it doesn’t. Running on Ri 4 and the timezone is set correctly. Could someone help?
alias: Set Morning Thermostat to 76f
description: ''
trigger:
- platform: time
at: '04:00:00'
condition:
- condition: device
device_id: 4fcee45741653467dcb0424c22e0960d
domain: climate
entity_id: climate.main_house_ac
type: is_hvac_mode
hvac_mode: heat
action:
- service: climate.set_temperature
data:
temperature: 76
target:
entity_id: climate.main_house_ac
mode: single
Not sure, I don’t have a thermostat so I don’t have hvac_modes memorized. Verify that’s the correct attribute and that it has a single state heat. To me, I would assume hvac_modes is a list of available modes and not the actual current mode.
You can use a state, but you’re looking at the wrong attribute. Just as I assumed, hvac_modes is a list of all the available molds according to your attribute and the main state is heat.
Therefore, this is the condition you should have used:
- condition: state
entity_id: climate.main_house_ac
state: heat
@Tamsy is_state has no differences to the state condition checking the main state.