I want to turn on a switch based on a schedule and then off.
I was told the best way to do is via schedule helper. So I created the helper and set a schedule. And then created an automation when the helper’s state is active, then that calls service to turn on the switch.
And when the helper goes to idle, the switch is turned off.
This automation seemes not to work… maybe I’m missing something. And if it did work then there is a slight flaw to it.
(For example: I want to turn on the switch on Monday at 7am till 9am. So when the status changes of the helper from idle to active. I turn on the switch. But if for some reason the the helper does not change the state then the switch won’t turn on at 7am. But I want to turn on the switch anyway between 7 till 9. But this automation only works at the specific time of 7am)
Any ideas? Thanks!