Complete rewrite of alerts attributes structure
MAJOR BREAKING CHANGES!
The alerts attributes data structure has been completely reorganized for better human readability and it will hopefully lend itself to easier data retrieval as necessary.
None of the existing automations, scripts or dashboard examples will continue to function with this update so be sure to update those in your system as well if you use them.
I've tested the changes as thoroughly as possible but I can't guarantee that I have made some mistake that I've missed. So as always please let me know of anything that needs fixed and...
Use at your own risk.