Further updates to honeywell home t6+ cloud/wifi app and driver

Here are my further updates to the honeywell t6 wifi therm driver

The issue is that the driver does not show total run time in any way.
I needed this to implement a rule for turning off/therm alerting if say for instance therm is running too much and/or a door/slider is open.

What i did:

Implemented statistics in the app and reporting it in the driver attribute:
hourlyRuntimePercentage

Basically based on how often your therm is set to poll I keep track of whether the therm was on/off (on= anything other than idle)

So for instance if your poll time is 15 minutes i average over the last 4 polls, for 10 minutes it averaged over the last 6 polls.

This works up to 5 minutes (12 polls), i disabled all polling less than 5 minutes as honeywell really doesnt support that anyway (you will get timeouts).

There are options in the app to enable this and logging for this.

These updates also include my prior updates adding attributes, and coding retries on timeouts, etc.

here are the code files

Another new version that now has attributes for lastdayPercentage and lastMonthPercentage of on/runtime and also an array to keep track of average runtime Percentage for each day of the month and each month of the year.