diff --git a/esphome/components/network/__init__.py b/esphome/components/network/__init__.py index 0e3345d022..070d9c6e35 100644 --- a/esphome/components/network/__init__.py +++ b/esphome/components/network/__init__.py @@ -5,7 +5,7 @@ import esphome.codegen as cg from esphome.components.esp32 import add_idf_sdkconfig_option from esphome.components.psram import is_guaranteed as psram_is_guaranteed import esphome.config_validation as cv -from esphome.const import CONF_ENABLE_IPV6, CONF_MIN_IPV6_ADDR_COUNT +from esphome.const import CONF_ENABLE_IPV6, CONF_MIN_IPV6_ADDR_COUNT, CONF_PRIORITY from esphome.core import CORE, CoroPriority, coroutine_with_priority import esphome.final_validate as fv @@ -21,7 +21,6 @@ CONF_ENABLE_HIGH_PERFORMANCE = "enable_high_performance" # Network priority tracking KEY_NETWORK_PRIORITY = "network_priority" -CONF_PRIORITY = "priority" VALID_NETWORK_TYPES = ["ethernet", "wifi"] # Setup priority base values — first in list gets the highest priority NETWORK_PRIORITY_BASE = 300.0