ginkage / MHI-AC-Ctrl-ESPHome

ESPHome integration for MHI-AC-Ctrl project
MIT License
95 stars 35 forks source link

Error new files - error on frame_size #79

Closed arcangel321 closed 5 months ago

arcangel321 commented 5 months ago

Hi,

Updating with the new files getting the following error: In file included from src/main.cpp:94: src/mhi_ac_ctrl.h: In member function 'virtual void MhiAcCtrl::setup()': src/mhi_ac_ctrl.h:128:44: error: 'frame_size' was not declared in this scope 128 | mhi_ac_ctrl_core.set_frame_size(id(frame_size)); // set framesize. Only 20 (legacy) or 33 (includes 3D auto and vertical vanes) possible | ^~~~~~ Compiling .pioenvs/esphome-web-dbb516/lib02e/ESPAsyncTCP-esphome/ESPAsyncTCP.cpp.o *** [.pioenvs/esphome-web-dbb516/src/main.cpp.o] Error 1 ========================= [FAILED] Took 129.51 seconds =========================

arcangel321 commented 5 months ago

Problem solved, rechecked the config YAML.

Removed the config:

globals:

For other persons: Copy the config and use the latest yaml