I have some smart switches. They always gave following warning with compilation:
Compiling .pioenvs/lsc-powerplug-5/lib352/ESPAsyncWebServer/AsyncEventSource.cpp.o
/config/esphome/water-boiler2.yaml: In lambda function:
/config/esphome/water-boiler2.yaml:207:38: warning: 'esphome::select::Select::state' is deprecated: Use current_option() instead of .state. Will be removed in 2026.7.0 [-Wdeprecated-declarations]
207 | return strcmp(id(status_led_mode).state.c_str(), "Normal") == 0;
| ^~~~~
In file included from src/esphome/core/entity_includes.h:51,
from src/esphome/core/application.h:39,
from src/esphome/components/api/api_frame_helper.h:14,
from src/esphome/components/api/api_connection.h:5,
from src/esphome.h:4,
from src/main.cpp:3:
src/esphome/components/select/select.h:37:15: note: declared here
37 | std::string state{};
| ^~~~~
It won’t compile anymore (.state is removed). Who do I contact to fix this?
Thanks