A simple question for some of you. But I can’t find the answer.
I have a light sensor when the sensor has a value between 0-450, a switch is on otherwise it is off. I have some conditions in time let’s say 0700 – 0900 and 1800-2200. If I manual turn the switch off, it should automatic turn on again.
(I tried with trigger and a numeric value. And conditions in time. But it allays work one day, the second day nothing happens. )
If the light sensor has a value 0, and turn the switch on at time 1800. Later I turn it off manual. The next day the sensor has not changed still 0, it will not turn on the switch at 0700
Do any one has a solution on this?
I haven’t used this yet, but is there any other way to make this?
I must make an automation to start the script when I restart Home Assistant.
But my question I, is there any other way to check the value and turn on a lamp, instead of automations that is when a value reaches a specific number?