mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 02:58:11 +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 (
|
from esphome.const import (
|
||||||
|
CONF_DISABLED,
|
||||||
CONF_ID,
|
CONF_ID,
|
||||||
CONF_PORT,
|
CONF_PORT,
|
||||||
CONF_PROTOCOL,
|
CONF_PROTOCOL,
|
||||||
CONF_SERVICES,
|
|
||||||
CONF_SERVICE,
|
CONF_SERVICE,
|
||||||
|
CONF_SERVICES,
|
||||||
KEY_CORE,
|
KEY_CORE,
|
||||||
KEY_FRAMEWORK_VERSION,
|
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.core import CORE, coroutine_with_priority
|
||||||
from esphome.components.esp32 import add_idf_component
|
|
||||||
|
|
||||||
CODEOWNERS = ["@esphome/core"]
|
CODEOWNERS = ["@esphome/core"]
|
||||||
DEPENDENCIES = ["network"]
|
DEPENDENCIES = ["network"]
|
||||||
|
@ -91,7 +91,7 @@ async def to_code(config):
|
||||||
add_idf_component(
|
add_idf_component(
|
||||||
name="mdns",
|
name="mdns",
|
||||||
repo="https://github.com/espressif/esp-protocols.git",
|
repo="https://github.com/espressif/esp-protocols.git",
|
||||||
ref="mdns-v1.2.5",
|
ref="mdns-v1.3.2",
|
||||||
path="components/mdns",
|
path="components/mdns",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ dependencies:
|
||||||
version: v2.0.9
|
version: v2.0.9
|
||||||
mdns:
|
mdns:
|
||||||
git: https://github.com/espressif/esp-protocols.git
|
git: https://github.com/espressif/esp-protocols.git
|
||||||
version: mdns-v1.2.5
|
version: mdns-v1.3.2
|
||||||
path: components/mdns
|
path: components/mdns
|
||||||
rules:
|
rules:
|
||||||
- if: "idf_version >=5.0"
|
- if: "idf_version >=5.0"
|
||||||
|
|
Loading…
Reference in a new issue