Copy this link and import the blueprint manually.
With this blueprint you can turn on a light when a binary sensor is on after a specific time.
This blueprint is time pattern based (checks every 10 seconds) so in case your binary sensor is already “on” and the threshold time of the day is not reached yet, the light will turn on after the threshold time has passed.
Turning on the light manually will make the automation ignore the light, therefore it will not automatically turn it off, unless you turn the memory toggle to “on”.
Turning the light off in any way (automated or manual) will give automation regained control over the light.
2 toggle helpers need to be created in order for this blueprint to work:
- 1 toggle to act as a “master switch” to check that automation is actually allowed to run.
Example: Turn this switch off if you have guests and you don’t want to run this automation while they are present
- 1 toggle to act as the “memory” for this automation.
When this automation turns on the light, it will also turn on this toggle, acting as a memory.
This will prevent the light from turning off when you manually turned on the light and the condition criteria are not fulfilled.
- 2021-05-18: Initial version