ginkage/MHI-AC-Ctrl-ESPHome

Error new files - error on frame_size

Closed this issue · 1 comments

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 =========================

Problem solved, rechecked the config YAML.

Removed the config:

globals:

  • id: room_temp_api_timeout
    type: int
    restore_value: no
    initial_value: '120'

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