From a8fa656395e476c452899bdb6f98018c7e17e58e Mon Sep 17 00:00:00 2001 From: abmantis Date: Thu, 7 Aug 2025 19:13:54 +0100 Subject: [PATCH] Minor changes --- homeassistant/components/light/condition.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/light/condition.py b/homeassistant/components/light/condition.py index 5d6c49ba5a8..2913b40802a 100644 --- a/homeassistant/components/light/condition.py +++ b/homeassistant/components/light/condition.py @@ -27,8 +27,8 @@ BEHAVIOR_ONE: Final = "one" BEHAVIOR_ANY: Final = "any" BEHAVIOR_ALL: Final = "all" -STATE_CONDITION_TYPE = "state" -STATE_CONDITION_SCHEMA = vol.All( +STATE_CONDITION_TYPE: Final = "state" +STATE_CONDITION_SCHEMA = vol.Schema( { **cv.CONDITION_BASE_SCHEMA, vol.Required(CONF_CONDITION): f"{DOMAIN}.{STATE_CONDITION_TYPE}",