I try to make an automation but can’t get it working.
what i have so far, a group of people called group.vip, if everybody is in the house the groups state is home, if someone is not at home it says away.
what i want, if all people are in the house at let’s say 22:00 clock the front light needs to be turnd off.
if someone is away, the light needs to stay on and only should turned off if the last person has enter the house.
The last part i mannaged to build it to trigger at a state change from away to home after 22:00h
but it isn’t trigger if the group already is at home !
you need 2 triggers, one for group = home, one for time = 22:00
then you need 2 conditions, one for group == home, one for time >= 22:00.
(That’s assuming that your group shows away if at least 1 person is not home, which is not the default behaviour of a group. just wanted to point this out…)
No, he’s saying if you arrive home before 2200 the light will go off at 2200, if you arrive at 2201 to 2359 it will turn off at that time
If you don’t come home it will go off at 0000
The one from lolouk i have implemented and works great, to night i go test the one from mf_social.
Differrent radius like Mutt opposed isn’t going to work, my kids don’t always have data set on on there phone, so i can’t get a stady location signal from there phone.
Ah, understood in that case both loouk44’s and Marc’s would be good. Though I have to say that Marc’s is by far the most elegant for this sort of problem.
Regardless, it’s whatever you feel most comfortable with