mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Numeric state condition can also accept input_number entity ID (#14403)
This commit is contained in:
parent
f8941d1660
commit
695f81fb69
@ -148,6 +148,18 @@ condition:
|
|||||||
below: 25
|
below: 25
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Number helpers (`input_number` entities) can be used in the `above` and `below`
|
||||||
|
options to make the condition more dynamic.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
condition:
|
||||||
|
condition: numeric_state
|
||||||
|
entity_id: climate.living_room_thermostat
|
||||||
|
attribute: temperature
|
||||||
|
above: input_number.temperature_threshold_low
|
||||||
|
below: input_number.temperature_threshold_high
|
||||||
|
```
|
||||||
|
|
||||||
## State condition
|
## State condition
|
||||||
|
|
||||||
Tests if an entity is a specified state.
|
Tests if an entity is a specified state.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user