mirror of
https://github.com/esphome/esphome.git
synced 2026-08-22 22:26:21 +00:00
[core] Widen validate_version input annotation to Any
It is wired straight into the schema, so it receives raw YAML and never coerces the value itself.
This commit is contained in:
@@ -175,7 +175,7 @@ def validate_sha256(value: Any) -> str:
|
||||
return value
|
||||
|
||||
|
||||
def validate_version(value: str) -> str:
|
||||
def validate_version(value: Any) -> str:
|
||||
parse_firmware_version(value)
|
||||
return value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user