mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Allow numeric state trigger/condition against zone entities (#114221)
This commit is contained in:
@ -1350,7 +1350,8 @@ SERVICE_SCHEMA = vol.All(
|
||||
)
|
||||
|
||||
NUMERIC_STATE_THRESHOLD_SCHEMA = vol.Any(
|
||||
vol.Coerce(float), vol.All(str, entity_domain(["input_number", "number", "sensor"]))
|
||||
vol.Coerce(float),
|
||||
vol.All(str, entity_domain(["input_number", "number", "sensor", "zone"])),
|
||||
)
|
||||
|
||||
CONDITION_BASE_SCHEMA = {
|
||||
|
Reference in New Issue
Block a user