diff --git a/components/stream_server/stream_server.cpp b/components/stream_server/stream_server.cpp index 9882391..5a5fb9b 100644 --- a/components/stream_server/stream_server.cpp +++ b/components/stream_server/stream_server.cpp @@ -43,7 +43,11 @@ void StreamServerComponent::loop() { void StreamServerComponent::dump_config() { ESP_LOGCONFIG(TAG, "Stream Server:"); +#if ESPHOME_VERSION_CODE >= VERSION_CODE(2025, 11, 0) + ESP_LOGCONFIG(TAG, " Address: %s:%u", esphome::network::get_use_address(), this->port_); +#else ESP_LOGCONFIG(TAG, " Address: %s:%u", esphome::network::get_use_address().c_str(), this->port_); +#endif #ifdef USE_BINARY_SENSOR LOG_BINARY_SENSOR(" ", "Connected:", this->connected_sensor_); #endif