Dear community,
i really need some help with the “wait for trigger” part of an automation.
For the automation below, all well (the light comes as planned on) but fails to go off. If i put the value of the time (in the wait for trigger clause) quite close to the sunset it sometime seems to work…
The automation is done completely with the GUI…
Seems like i do not understand some fundamentals about it (even though a similar automation i used for test with a telegram notification does work without problems)…
For an automation like this, where the second trigger is static (i.e. not being affected by something within the automation itself) it would be better to use two triggers and a “Choose” action instead of a “Wait for Trigger”.
If you are using version 2021.7 (or later) you can control which option of the “Choose” action is carried out very easily by using trigger ids.
Waits do not always survive restarts, so they aren’t always reliable… especially if they happen late at night and you’re tinkering with your automations in the evening and they are being restarted repeatedly…