Hi, my automation only works once, my guess is that my issue is "changed to double press", as the button was already on "double press for the last used state".
How can i resolve this please (hope the option restart would help, but it seems not :D)?
`alias: Voice button press
description: ""
triggers:
- trigger: state
entity_id:- event.home_assistant_voice_091c68_button_press
attribute: event_type
to: double_press
conditions: []
actions:
- event.home_assistant_voice_091c68_button_press
- action: homeassistant.toggle
metadata: {}
data: {}
target:
entity_id: light.lichtpunt_terras_2 - action: light.toggle
target:
entity_id: light.lichtpunt_terras_2
data: {}
mode: restart`
Thank you!