mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 12:15:33 +01:00
Enable mDNS during OTA safe mode (#3146)
This commit is contained in:
parent
397ef72b16
commit
434ca47ea0
@ -1,7 +1,7 @@
|
|||||||
from esphome.const import CONF_ID
|
from esphome.const import CONF_ID
|
||||||
import esphome.codegen as cg
|
import esphome.codegen as cg
|
||||||
import esphome.config_validation as cv
|
import esphome.config_validation as cv
|
||||||
from esphome.core import CORE
|
from esphome.core import CORE, coroutine_with_priority
|
||||||
|
|
||||||
CODEOWNERS = ["@esphome/core"]
|
CODEOWNERS = ["@esphome/core"]
|
||||||
DEPENDENCIES = ["network"]
|
DEPENDENCIES = ["network"]
|
||||||
@ -29,6 +29,7 @@ CONFIG_SCHEMA = cv.All(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@coroutine_with_priority(55.0)
|
||||||
async def to_code(config):
|
async def to_code(config):
|
||||||
if CORE.using_arduino:
|
if CORE.using_arduino:
|
||||||
if CORE.is_esp32:
|
if CORE.is_esp32:
|
||||||
|
Loading…
Reference in New Issue
Block a user