#toggle only switches off

1 messages · Page 1 of 1 (latest)

tight kite
#

I tried to make an automation for my Ikea E1744 remote, triggered by events instead of the legacy sensors from zigbee2mqtt. Everything but toggle works because there is no state change (toggle -> toggle), it only switches the light off.
How can i fix this?

iron needle
#

Remove attribute: event_type from the trigger.

You want to trigger on a state change of the event (which should be a timestamp), not when the attribute changes.

#

If I’m reading your existing automation correctly, none of your actions should work twice in a row. The issue isn’t unique to toggle.

Removing the attribute from the trigger should solve that.