When leaving the house I would like the light in the hallway to flash briefly and then go to on.
After flashing nothing happens.
When I run the action just for flashing, I get an error:
This is the full automation:
alias: 'Hall: test flash'
description: ''
trigger: []
condition: []
action:
- service: light.turn_on
data:
brightness_pct: 100
flash: short
target:
entity_id: light.hall
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
- service: light.turn_off
data: {}
target:
entity_id: light.hall
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
- service: light.turn_on
data:
brightness_pct: 50
target:
entity_id: light.hall
mode: single
2 posts - 2 participants