You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While updating an error occurred and I need help and this is my error
src/esphome/components/panasonic_ac/esppac.cpp: In member function 'void esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)':
src/esphome/components/panasonic_ac/esppac.cpp:187:4: error: no matching function for call to 'esphome::select::Select::add_on_state_callback(esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)::<lambda(const string&)>)'
});
^
In file included from src/esphome/components/panasonic_ac/esppac.h:4,
from src/esphome/components/panasonic_ac/esppac.cpp:1:
src/esphome/components/select/select.h:62:8: note: candidate: 'void esphome::select::Select::add_on_state_callback(std::function<void(std::__cxx11::basic_string, unsigned int)>&&)'
void add_on_state_callback(std::function<void(std::string, size_t)> &&callback);
^~~~~~~~~~~~~~~~~~~~~
src/esphome/components/select/select.h:62:8: note: no known conversion for argument 1 from 'esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)::<lambda(const string&)>' to 'std::function<void(std::__cxx11::basic_string, unsigned int)>&&'
src/esphome/components/panasonic_ac/esppac.cpp: In member function 'void esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)':
src/esphome/components/panasonic_ac/esppac.cpp:196:4: error: no matching function for call to 'esphome::select::Select::add_on_state_callback(esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)::<lambda(const string&)>)'
});
^
In file included from src/esphome/components/panasonic_ac/esppac.h:4,
from src/esphome/components/panasonic_ac/esppac.cpp:1:
src/esphome/components/select/select.h:62:8: note: candidate: 'void esphome::select::Select::add_on_state_callback(std::function<void(std::__cxx11::basic_string, unsigned int)>&&)'
void add_on_state_callback(std::function<void(std::string, size_t)> &&callback);
^~~~~~~~~~~~~~~~~~~~~
src/esphome/components/select/select.h:62:8: note: no known conversion for argument 1 from 'esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)::<lambda(const string&)>' to 'std::function<void(std::__cxx11::basic_string, unsigned int)>&&'
*** [.pioenvs/esp32-tron/src/esphome/components/panasonic_ac/esppac.cpp.o] Error 1
========================= [FAILED] Took 14.30 seconds =========================
The text was updated successfully, but these errors were encountered:
While updating an error occurred and I need help and this is my error
src/esphome/components/panasonic_ac/esppac.cpp: In member function 'void esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)':
src/esphome/components/panasonic_ac/esppac.cpp:187:4: error: no matching function for call to 'esphome::select::Select::add_on_state_callback(esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)::<lambda(const string&)>)'
});
^
In file included from src/esphome/components/panasonic_ac/esppac.h:4,
from src/esphome/components/panasonic_ac/esppac.cpp:1:
src/esphome/components/select/select.h:62:8: note: candidate: 'void esphome::select::Select::add_on_state_callback(std::function<void(std::__cxx11::basic_string, unsigned int)>&&)'
void add_on_state_callback(std::function<void(std::string, size_t)> &&callback);
^~~~~~~~~~~~~~~~~~~~~
src/esphome/components/select/select.h:62:8: note: no known conversion for argument 1 from 'esphome::panasonic_ac::PanasonicAC::set_vertical_swing_select(esphome::select::Select*)::<lambda(const string&)>' to 'std::function<void(std::__cxx11::basic_string, unsigned int)>&&'
src/esphome/components/panasonic_ac/esppac.cpp: In member function 'void esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)':
src/esphome/components/panasonic_ac/esppac.cpp:196:4: error: no matching function for call to 'esphome::select::Select::add_on_state_callback(esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)::<lambda(const string&)>)'
});
^
In file included from src/esphome/components/panasonic_ac/esppac.h:4,
from src/esphome/components/panasonic_ac/esppac.cpp:1:
src/esphome/components/select/select.h:62:8: note: candidate: 'void esphome::select::Select::add_on_state_callback(std::function<void(std::__cxx11::basic_string, unsigned int)>&&)'
void add_on_state_callback(std::function<void(std::string, size_t)> &&callback);
^~~~~~~~~~~~~~~~~~~~~
src/esphome/components/select/select.h:62:8: note: no known conversion for argument 1 from 'esphome::panasonic_ac::PanasonicAC::set_horizontal_swing_select(esphome::select::Select*)::<lambda(const string&)>' to 'std::function<void(std::__cxx11::basic_string, unsigned int)>&&'
*** [.pioenvs/esp32-tron/src/esphome/components/panasonic_ac/esppac.cpp.o] Error 1
========================= [FAILED] Took 14.30 seconds =========================
The text was updated successfully, but these errors were encountered: