New version of the driver for TH112XZB (3KW and 4KW).
-
Clock Display/Hide logic has been inverted. Now the preference setting is Hide the Clock and it's false by default. This might help if you have the clock disappearing on you. I am suspicious that maybe some preference settings lose their values between execution. I have no proof of that, it's just a theory. Anyway probably 99% of us want the Clock displayed all the time so it make sense to invert the logic.
-
Added 24h / 12h AM/PM preference settings. Default value is 24h.
-
Added the unit measure when event are send. This will add °C or °F in the thermostat dashboard or in the event log. Also W (Watt) for the output power.
- The thermostatSetpoint attribute is now set at the same time as the heatingSetpoint. I had an issue with Google Home not reporting the correct setpoint of the thermostat and I realized that these 2 attributes needs to be set together. It's done this way in the Sinope SmartThing driver.
Again, this is based on @kris2k2 driver and I am just adding/correcting things that I think are useful. Most of the hard work as been done by Kris.
Don't forget to hit "Save Preference" after you update the driver.
https://github.com/erilaj/hubitat/blob/main/drivers/Sinope/erilaj-Sinope-TH112XZB.groovy