Getting started
Option 1:
Click the badge to import the blueprint.
Option 2:
Copy this link and import the blueprint manually.
https://gist.github.com/tommekevda/3f74f6d76cf1dc52f2f827d4bdbed191
Description
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.
Helpers
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.
Changelog
- 2021-05-18: Initial version