Minor changes

This commit is contained in:
abmantis
2025-08-07 19:13:54 +01:00
parent b2bd1a4aa0
commit a8fa656395

View File

@@ -27,8 +27,8 @@ BEHAVIOR_ONE: Final = "one"
BEHAVIOR_ANY: Final = "any" BEHAVIOR_ANY: Final = "any"
BEHAVIOR_ALL: Final = "all" BEHAVIOR_ALL: Final = "all"
STATE_CONDITION_TYPE = "state" STATE_CONDITION_TYPE: Final = "state"
STATE_CONDITION_SCHEMA = vol.All( STATE_CONDITION_SCHEMA = vol.Schema(
{ {
**cv.CONDITION_BASE_SCHEMA, **cv.CONDITION_BASE_SCHEMA,
vol.Required(CONF_CONDITION): f"{DOMAIN}.{STATE_CONDITION_TYPE}", vol.Required(CONF_CONDITION): f"{DOMAIN}.{STATE_CONDITION_TYPE}",