Allow numeric state trigger/condition against zone entities (#114221)
This commit is contained in:
parent
e1036b3af0
commit
9a1906322b
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue