In next automation, one of the " - service: light.toggle" is ignored.
The traces are corrects, but device doesn’t toggle light.
Please, any help.
Thanks
alias: Realimentación devel
description: ""
trigger:
- platform: state
entity_id:
- switch.ree_2
to: "on"
condition: []
action:
- service: light.toggle
target:
entity_id:
- light.focos_des
data: {}
- service: notify.alexa_media
data:
message: >-
Alarma solicitada.
target: media_player.buh
- service: light.toggle
target:
entity_id:
- light.focos_des
data: {}
- service: notify.alexa_media
data:
message: >-
Alarma solicitada.
target: media_player.buha
mode: single