From 56dbf680c9c543c04e90e57e83fce181cca308f9 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Sat, 22 Aug 2026 17:38:58 +1200 Subject: [PATCH] [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. --- esphome/components/shelly_dimmer/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/shelly_dimmer/light.py b/esphome/components/shelly_dimmer/light.py index c166076e0f..74b57e7ef7 100644 --- a/esphome/components/shelly_dimmer/light.py +++ b/esphome/components/shelly_dimmer/light.py @@ -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