diff --git a/esphome/components/select/select.h b/esphome/components/select/select.h index 22481941b4..030646c1ad 100644 --- a/esphome/components/select/select.h +++ b/esphome/components/select/select.h @@ -37,6 +37,9 @@ class Select : public EntityBase { /// @deprecated Use current_option() instead. This member will be removed in ESPHome 2026.5.0. __attribute__((deprecated("Use current_option() instead of .state. Will be removed in 2026.5.0"))) std::string state{}; + + Select() = default; + ~Select() = default; #pragma GCC diagnostic pop void publish_state(const std::string &state);