Closed OperKH closed 3 years ago
This makes little sense: you create three different instances of MhiAcCtrl, whereas there should be only one.
On a related note: what compile error you're getting, and on which ESPHome version? I'm asking this because I don't get any errors on the latest ESPHome 1.19.4, so I'm not quite sure what this fix is for.
@ginkage I have this error on ESPHome 1.19.4
Could you please give me the detailed output, the exact error, and if possible, your full .yaml file and the output main.cpp file? Please also note that for the original setup to work you need to either have the id in
climates:
id: mhi_ac_ctrl
defined exactly like that, or change the variable name in the other two lambdas accordingly.
Resolves erros during the build: