The HA team removed the information this tool utilizes from the events table. The same information was also stored in the states table, so it was redundant. I changed the tool to utilize the data pulled from the states table. The change to support the MariaDB actually broke the sqlite3 implementation so I made a small change to address this. I also added a note to the README file, as you need to update the addon.json file so that the pymysql package is included in the dockers container or the code throws an exception.
The HA team removed the information this tool utilizes from the events table. The same information was also stored in the states table, so it was redundant. I changed the tool to utilize the data pulled from the states table. The change to support the MariaDB actually broke the sqlite3 implementation so I made a small change to address this. I also added a note to the README file, as you need to update the addon.json file so that the pymysql package is included in the dockers container or the code throws an exception.