Hi,
I want to have a time range check, with an offset which is calculated daily and saved to a variable. I have tried the time range node, but I can’t get it to take a variable in the offset option inputs. I am also looking for a trigger with the same ability.
Automation I am trying to achieve:
if (anyone arrives home and time is after sunset - offset)
or (sunset - offset is reached and someone is already home)
then turn on light
Any ideas?