From 3a02c2f8afba2dd4f95c5b00c257efe91c39d3b4 Mon Sep 17 00:00:00 2001 From: Roy Walker Date: Tue, 24 Feb 2026 11:16:21 -0600 Subject: [PATCH] Fix validation on priority import. --- esphome/components/network/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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