Closed nickkoul closed 8 months ago
Implements onGet for CurrentHeatingCoolingState so that it is not always set to OFF. Runs a reduce on the ThermostatState and adds a 1 if heat is on, and 2 if it is on cool. It is initialized at 0 so that if nothing is set it stays off.
Verified with my Alexa thermostats
@nickkoul Thanks for contributing! I'll release this in v2.1.1
Description
Implements onGet for CurrentHeatingCoolingState so that it is not always set to OFF. Runs a reduce on the ThermostatState and adds a 1 if heat is on, and 2 if it is on cool. It is initialized at 0 so that if nothing is set it stays off.
Testing
Verified with my Alexa thermostats