mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-22 21:58:29 +02:00
Allow mdns services to be exposed by config (#4202)
This commit is contained in:
@@ -90,6 +90,8 @@ void MDNSComponent::compile_records_() {
|
||||
}
|
||||
#endif
|
||||
|
||||
this->services_.insert(this->services_.end(), this->services_extra_.begin(), this->services_extra_.end());
|
||||
|
||||
if (this->services_.empty()) {
|
||||
// Publish "http" service if not using native API
|
||||
// This is just to have *some* mDNS service so that .local resolution works
|
||||
|
||||
Reference in New Issue
Block a user