mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Bump mDNS and follow ruff's suggestions (#7308)
This commit is contained in:
parent
91c7c43682
commit
01c50432c9
2 changed files with 7 additions and 7 deletions
|
@ -1,17 +1,17 @@
|
|||
import esphome.codegen as cg
|
||||
from esphome.components.esp32 import add_idf_component
|
||||
import esphome.config_validation as cv
|
||||
from esphome.const import (
|
||||
CONF_DISABLED,
|
||||
CONF_ID,
|
||||
CONF_PORT,
|
||||
CONF_PROTOCOL,
|
||||
CONF_SERVICES,
|
||||
CONF_SERVICE,
|
||||
CONF_SERVICES,
|
||||
KEY_CORE,
|
||||
KEY_FRAMEWORK_VERSION,
|
||||
CONF_DISABLED,
|
||||
)
|
||||
import esphome.codegen as cg
|
||||
import esphome.config_validation as cv
|
||||
from esphome.core import CORE, coroutine_with_priority
|
||||
from esphome.components.esp32 import add_idf_component
|
||||
|
||||
CODEOWNERS = ["@esphome/core"]
|
||||
DEPENDENCIES = ["network"]
|
||||
|
@ -91,7 +91,7 @@ async def to_code(config):
|
|||
add_idf_component(
|
||||
name="mdns",
|
||||
repo="https://github.com/espressif/esp-protocols.git",
|
||||
ref="mdns-v1.2.5",
|
||||
ref="mdns-v1.3.2",
|
||||
path="components/mdns",
|
||||
)
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ dependencies:
|
|||
version: v2.0.9
|
||||
mdns:
|
||||
git: https://github.com/espressif/esp-protocols.git
|
||||
version: mdns-v1.2.5
|
||||
version: mdns-v1.3.2
|
||||
path: components/mdns
|
||||
rules:
|
||||
- if: "idf_version >=5.0"
|
||||
|
|
Loading…
Reference in a new issue