Closed aferrato closed 2 months ago
I have this too. Will give your solution a try.
Edit: Just inserted that on line 93 in mhi_ac_ctrl.h, cleaned buid env. and recompiled and this works for me too!
Like this works indeed!
I've committed this workaround: https://github.com/ginkage/MHI-AC-Ctrl-ESPHome/commit/a43bc7187dba3ea520b662487ad94af0bdf9fdfb Please check if it works correctly.
I can confirm it works, thanks!
edit: this works: I've committed this workaround: https://github.com/ginkage/MHI-AC-Ctrl-ESPHome/commit/a43bc7187dba3ea520b662487ad94af0bdf9fdfb Please check if it works correctly.
Hello, when the esp8266 is rebooted, the status of the air conditioner changes to on with the last mode used even if it is actually off.
I have tried what is written here #2, but it doesn't work.
To solve I added this code:
inside
void cbiStatusFunction (ACStatus status, int value) override
beforeswitch (status)