|
@@ -43,7 +43,11 @@ void StreamServerComponent::loop() {
|
|
|
|
|
|
|
|
void StreamServerComponent::dump_config() {
|
|
void StreamServerComponent::dump_config() {
|
|
|
ESP_LOGCONFIG(TAG, "Stream Server:");
|
|
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_);
|
|
ESP_LOGCONFIG(TAG, " Address: %s:%u", esphome::network::get_use_address().c_str(), this->port_);
|
|
|
|
|
+#endif
|
|
|
#ifdef USE_BINARY_SENSOR
|
|
#ifdef USE_BINARY_SENSOR
|
|
|
LOG_BINARY_SENSOR(" ", "Connected:", this->connected_sensor_);
|
|
LOG_BINARY_SENSOR(" ", "Connected:", this->connected_sensor_);
|
|
|
#endif
|
|
#endif
|