#Device area in a script or automation?

1 messages · Page 1 of 1 (latest)

rocky cargo
#

My system is both very simple and straightforward, but also has plenty of complications. But at the most basic level, almost everything in my HA system needs to be turned on in the morning and turned off at night. That’s pretty much it for the majority of devices. To that end, I’ve created extremely long scripts that turn on/off each device in order, with these long delays in between (like 5 seconds each), mostly so that the zigbee network has time for all the communication to settle before moving on to the next thing.

That said, the easiest way to turn everything off in my network is - by far - to do it manually. If I go to my dashboard, I can turn off 3 areas in about 3 seconds and all ~60 devices on my network are powered off.

Is there a way to do the equivalent of that in an automation?

rotund silo
#

If they have areas defined, you can use those in automations.

rocky cargo
#

I can’t seem to find how to do that in the automations…

#

I don’t see it in actions

#

The all have areas defined, but I’ve looked everywhere in actions and can’t find how to control an area

rotund silo
#

Did you define the areas on the entites or the devices?