#Notification on All Devices of a Given Type?

1 messages · Page 1 of 1 (latest)

lime wharf
#

Hello,
I've integrated Ring into HA, and would like to have a notification anytime a window is opened. The entity ID is always some flavor of Window (e.g. binary_sensor.left_window) but also has some other text around it, e.g. binary_sensor.left_window_battery)

Is there a way to generically reference the window device type in an automation trigger so I don't have to individually define each one?

Thanks!

hollow oxide
#

If you want to trigger on any of them opening, regardless if others are already open, you have to list them all. The other option is to create a group and trigger off its state. However, the group will only fire the trigger when the first window opens, but not on any subsequent openings.