I use this automation to boost my heating. And It used to work perfectly. I haven’t used it for 6 months and now it is not triggering. It is enabled.
- id: lounge_powerful_heat_on
alias: 'Lounge Powerful Heat On'
initial_state: true
trigger:
- platform: state
entity_id: input_select.lounge_ac_mode
to: 'Normal Heat'
for:
minutes: 30
- platform: state
entity_id: binary_sensor.lounge_ac_heat_required
to: 'on'
for:
minutes: 5
condition:
- condition: state
entity_id: binary_sensor.lounge_ac_heat_required
state: 'on'
- condition: state
entity_id: input_select.lounge_ac_mode
state: 'Normal Heat'
action:
service: input_select.select_option
data:
entity_id: input_select.lounge_ac_mode
option: "Powerful Heat"
Input select:
lounge_ac_mode:
name: Upstairs AC Mode
options:
- 'Off'
- Powerful Heat
- Normal Heat
- Silent Heat
- Powerful Cool
- Normal Cool
- Silent Cool
icon: mdi:air-conditioner
If it trigger the automation manually with the conditions enabled in the developer tools it works as expected. So the conditions and actions are fine.
However if I change the input select to “Normal Heat”, and heating is still required 30 minutes later, it does not trigger.
I’ve tried reloading input selects and restarting. No change. This particular automation and another just like it for downstairs refuse to trigger after 30 minutes.
I thought it might be a problem with input selects generally so I created a new input select and automation that mimicked the above automation but that worked.
I know there have been a lot of changes to input ‘helpers’ but why one created before these changes does not work as a trigger but one created after does baffles me. Especially as they were both created using yaml.