I am using core for many automations, but mainly for motion sensor to light bulb automation.
For this purpose I want to use something with local execution possibility.
Is there anything similar to Core for this purpose ?
best would be to use core locally but that’s not possible since it is external script , right ?
I need something flexible. for example, it should be able to check sunset/sunrise , time and day based . and also it should check a switch (if on or off) to trigger the light.