HubitatCommunity / HoneywellThermo-TCC

22 stars 10 forks source link

Fixed mode error, added Temperature units. #8

Closed jvmahon closed 3 years ago

jvmahon commented 3 years ago

Added "unit" variable with values "°F" or "°C" unit to temperature reporting and setpoint sendEvents.

Fixed 'thermostatMode" sendEvents at lines 529-545. Previously, they were initially being set to a temperature value, not the mode value.

Also added some defined variables for the minimum and maximum heating / cooling setpoints. See lines 459-462. They aren't used yet, but it would be great if someone more knowledgeable about the code could use these to range-check the up/down heating/cooling actions as well as any other heating/cooling setpoint change and enforce the ranges / log an error if a user tries to exceed them.