mirror of
https://github.com/esphome/esphome.git
synced 2025-10-10 05:43:48 +01:00
mDNS updates (#4399)
This commit is contained in:
@@ -38,6 +38,11 @@ void MDNSComponent::setup() {
|
||||
|
||||
void MDNSComponent::loop() { MDNS.update(); }
|
||||
|
||||
void MDNSComponent::on_shutdown() {
|
||||
MDNS.close();
|
||||
delay(40);
|
||||
}
|
||||
|
||||
} // namespace mdns
|
||||
} // namespace esphome
|
||||
|
||||
|
Reference in New Issue
Block a user