Here are a couple of my smart apps ported from smartthings garden hue and battery monitor

John:

Oops...for me, only Batteries with Full Charge (last section) is properly alphabatized...all the other sections before it are not...some examples:

Replaced the original code w/yours and saved in Apps Code section, then Used Refresh in app to update (also used Update in device selection section). :man_shrugging: