1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-15 01:32:19 +01:00

Move CONF_PLATFORM_VERSION to global const.py (#6629)

* remove duplicated definition

* format
This commit is contained in:
tomaszduda23
2024-04-25 11:50:41 +02:00
committed by GitHub
parent 41b19504bc
commit bdc9c66f7e
4 changed files with 4 additions and 5 deletions

View File

@@ -32,6 +32,7 @@ from esphome.const import (
TYPE_GIT,
TYPE_LOCAL,
__version__,
CONF_PLATFORM_VERSION,
)
from esphome.core import CORE, HexInt, TimePeriod
import esphome.config_validation as cv
@@ -365,8 +366,6 @@ def final_validate(config):
return config
CONF_PLATFORM_VERSION = "platform_version"
ARDUINO_FRAMEWORK_SCHEMA = cv.All(
cv.Schema(
{