So im trying to get reminded every minute we leave the pool gate open via Alexa -
I have no idea why this doesnt work, it looks good in the GUI, the actions work, the trigger works (first action fires) and I have tested this with the pool gate open and the ‘WHILE’ config returns back true… but its action never fires?
alias: Pool Gate Opened
description: ''
trigger:
- type: opened
platform: device
device_id: e5d17f6523d82e3f159ebb0a2ea4c505
entity_id: binary_sensor.pool_gate_multipurpose_sensor_contact
domain: binary_sensor
condition: []
action:
- service: notify.alexa_media
data:
message: Pool gate has been opened
target:
- media_player.main_echo_dot
- media_player.bedroom_echo_dot
data:
method: all
type: announce
- repeat:
while:
- type: is_open
condition: device
device_id: e5d17f6523d82e3f159ebb0a2ea4c505
entity_id: binary_sensor.pool_gate_multipurpose_sensor_contact
domain: binary_sensor
for:
hours: 0
minutes: 1
seconds: 0
sequence:
- service: notify.alexa_media
data:
message: Pool gate is open
target:
- media_player.main_echo_dot
- media_player.bedroom_echo_dot
data:
method: all
type: announce
mode: single