Closed Ramblurr closed 1 year ago
Actually, reviewing the docs some more, I think I can achieve this using the disable_switch_entities
option, an input boolean, and an automation in HA that toggles the boolean depending on the time
You can also acheive the same without using a disable_switch_entities
simply by setting light to 0 during that time period.
From the docs:
# This rule has the lights set to 0, so they will no turn on during this time period
- { starttime: "23:30", name: more_night, light: 0 }
Using the light 0 option, would cause detected movement to turn off the lights right? Or would it just do nothing?
Using the light 0 option would turn off a manually turned on light after the delay.
The disable_switch_entities
option should be the way to go.
Used disable_switch_entities
thanks.
🙄 Is your feature request related to a problem? Please describe.
Bedtime for our child is a complicated and delicate time. During this half-hour/hour window we want to keep manual control of the lights regardless of the motion sensor or other automoli settings.
😍 Describe the solution you'd like
I'd like the option to specify a
daytime
in the automoli config that prevents automoli from changing the lights during that period.🖼️ Example/See here!
In this example from 06:00 until 19:00 automoli controls the light via the motion sensor as normal. From 19:00 until 22:00 automoli will do nothing. From 22:00 - 06:00 automoli will continue as usual.