Multiple battery sensor alert email - is there a better way?

You should make use of groups, and triggeringItem.state (the item that changed within that group). See here as well for the groups tutorial.

To reduce the # of emails, you can have an internal timestamp to only send every so often. You can refer to an example implementation in this code.

1 Like