MiguelAngelLV / esphaier

ESP8266 code to connect to Haier Air Conditioner with wifi module support
127 stars 32 forks source link

Compiling error #30

Closed monteship closed 1 year ago

monteship commented 1 year ago
In file included from src/main.cpp:30:
src/Haier.h: In member function 'virtual void Haier::control(const esphome::climate::ClimateCall&)':
src/Haier.h:345:20: warning: enumeration value 'CLIMATE_FAN_QUIET' not handled in switch [-Wswitch]
  345 |             switch (call.get_fan_mode().value()) {
      |  
MiguelAngelLV commented 1 year ago

Hi! It is not a error, is only a warning.

Any way, you can use this component directly from last EspHome versions:

https://esphome.io/components/climate/haier.html

monteship commented 1 year ago

ESPHome version not work for me. only your version was working) Thank u for your work)