Hi there I’m a newbie here and apologise if this has been asked elsewhere but I couldn’t see that it had. I’m setting up some automations to turn something off at night and also when people leave the house (this is a tapo plug) - plus reciprocally to turn it on in the morning and when people come home. So far so good.
For people leaving the house I’ve been using successfully the -zone.home to: "0"
which is nice and clean because I don’t have to worry about specific users (e.g. sometimes people come to stay and I can just include them seamlessly.
So what I want to do is something really simple and I would like to use zone.home for it. In the morning I turn on tapo plug at 6:45 (i.e.
- platform: time
at: "06:45:00"
condition: null
action:
- type: turn_on
but I also want to add a condition to check if home.zone is greater than 0 i.e. don’t turn on if no one is home. For the life of me I can’t figure out how to do that. Can someone please put me out of my misery (I’ve managed to add other conditions just not this one).