One of the last things I've got left from ST days is a set of pistons to tell me about door or windows being opened I was able to get them to produce nice notifications, like this:
ALERT: Front Door Contact, and Mudroom Garage Door are open while Main Floor HVAC is heating on Thu, Apr 21 2022 @ 8:58:23 AM EDT
The key to this was the string manipulation done in line 35, where webCoRE did a great job of listifying the triggeredDevices list and I was able to insert "is" or "are" depending upon the length:
How can I reproduce equally nice messages in RM?
Here is the whole piston for reference: