mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Allow numeric state trigger/condition against zone entities (#114221)
This commit is contained in:
parent
e1036b3af0
commit
9a1906322b
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user