Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105625

Check the status of a list of sensors

$
0
0

Hi I was hoping someone could help me: I have a batch of door and window sensors and I would like to write a script that checks that they are all closed. If one or more are open, I want to receive a notification listing the open doors/windows.
I have tried various options in Scripts like “choose” but that will only find the first one. I have also tried a template with “if else” statements but I can’t get it to execute the notification service.
I would be grateful if anyone has any suggestions?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>