I recently upgraded to 0.117.5 (from 0.114) and one of my oldest and simplest automations stopped triggering completely, it’s really weird. It’s been working for years.
This is the current code
# Espresso Machine automatic "Time Out"
- alias: 'Espresso machine time out'
trigger:
platform: state
entity_id: switch.espresso
to: 'on'
#for: '00:01:00'
action:
- delay: '00:00:30'
- service: homeassistant.turn_off
entity_id: switch.espresso
Orignally the “for” statement was set to “minutes: 60” and there was no delay. I’ve been trying different things to see if I can get it to work again, without the “for”, adding “delay” etc.
The problem seems to be the state trigger rather than the for.
I can see the state of ‘switch.espresso’ (which is a zwave switch) and it looks normal, when flipping the switch it goes from ‘off’ to ‘on’ as always.
Also the automation was loaded, I can see it here:
It just never triggers.
I use the same construct with input_booleans and others and it works.
Any idea of what could be wrong here? Configuration checks are OK, I tried restarting HA etc to no avail.