diff --git a/esphome/components/wled/wled_light_effect.cpp b/esphome/components/wled/wled_light_effect.cpp index 8b9457a421..2e2b1c5e00 100644 --- a/esphome/components/wled/wled_light_effect.cpp +++ b/esphome/components/wled/wled_light_effect.cpp @@ -62,7 +62,6 @@ void WLEDLightEffect::apply(light::AddressableLight &it, const Color ¤t_co ESP_LOGW(TAG, "Socket unable to set sockaddr: errno %d", errno); return; } - server.ss_family = AF_INET; err = this->socket_->bind((struct sockaddr *) &server, sizeof(server)); if (err != 0) {