This is a test automation to turn a switch off after a prescribed time but it doesn’t work. Any suggestions on what I’m doing wrong?
I will increase the time value from 1 minute to 1 hour once I’ve debugged it.
- id: '1613755612693'
alias: Turn Master Bath Fan Off on a Timeout
description: ''
trigger:
- platform: state
entity_id: switch.treatlife6
from: 'OFF'
to: 'ON'
for: 00:01:00
condition: []
action:
- type: turn_off
device_id: 0019e6842bfcb803464247eb3ffb6792
entity_id: switch.treatlife6
domain: switch
mode: single
Thanks