Closed maisun closed 3 years ago
@maisun: nice catch! My device not reflecting the proper state in Home app was driving me nuts. I made the update recommended above and it is now working like a charm. Thanks a ton.
Thanks for that, I'll fix it in the next release!
Fixed with 1.3.0
Maybe a typo: let INACTIVE = 0; // = Characteristic.CurrentHeaterCoolerState.INACTIVE let IDLE = 1; // = Characteristic.CurrentHeaterCoolerState.IDLE let HEATING = 1; // = Characteristic.CurrentHeaterCoolerState.HEATING let COOLING = 2; // = Characteristic.CurrentHeaterCoolerState.COOLING Line 112-115 should be: let INACTIVE = 0; // = Characteristic.CurrentHeaterCoolerState.INACTIVE let IDLE = 1; // = Characteristic.CurrentHeaterCoolerState.IDLE let HEATING = 2; // = Characteristic.CurrentHeaterCoolerState.HEATING let COOLING = 3; // = Characteristic.CurrentHeaterCoolerState.COOLING