my OpenHAB2 installation has an Astro Binding. I have two items:
astro:sun:home:civilDawn and astro:sun:home:civilDusk
What I am trying now to reach is:
I have a light switch and if this switch is turned ON by the user but the sun is still shining (for example 11:00) then the light will NOT turn on. But if the sun will goes down at 21:00 and the user is trying to switch on the light at 20:00 then everything is fine and the light will turn on.
Any idea how I can configure this?
I am not looking for an automatically light on switch. What I want is that I block this switch between some time.