My shop got us all Bob licenses, and I have to say his humor is a bit lacking.
Help understanding a timer automation; what am I doing wrong?
Attempting to have some grow lights for some garden seedlings turn off at night and on in the morning. I do this with two triggers at 7am and 8pm, and a "then do" function to turn on or off depending on the timer.
The timer function I made:
alias: Grow Light Timer
description: ""
triggers:
- trigger: time
at: "07:00:00"
- trigger: time
at: "20:00:00"
conditions: []
actions:
- if:
- condition: time
before: "08:30:00"
then:
- type: turn_on
device_id: 2d0e096e3b2ea6257cb6462ebf824978
entity_id: dd4efaf2c2343b8404dc3bb789b3b2d9
domain: switch
else:
- type: turn_off
device_id: 2d0e096e3b2ea6257cb6462ebf824978
entity_id: dd4efaf2c2343b8404dc3bb789b3b2d9
domain: switch
mode: single
The part that confuses me: When I go to the automations and hit "run action" on the automation itself, this does not work.
However, if I go inside the automation and run only the "then do" portion of it, that part works as expected.
Pretty new to this, any advice appreciated!
Did you lose a large box of Magic cards today?
Message me some details about what happened, including your name (found on the box) to verify ownership, I want to get them back to you! We didn't save all the cards, and what we saved are in rough shape, but we did what we could.
Edit: I'm also reaching out to Quarterstaff, VGA, etc, to see if they know anyone who lost them.