mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
State condition can also accept an input_* Entity ID as state value (#14412)
This commit is contained in:
parent
16b2cda659
commit
4f7216c7c9
@ -225,6 +225,17 @@ condition:
|
||||
state: heat
|
||||
```
|
||||
|
||||
Finally, the `state` option accepts helper entities (also known as `input_*`
|
||||
entities). The condition will pass if the state of the entity matches the state
|
||||
of the given helper entity.
|
||||
|
||||
```yaml
|
||||
condition:
|
||||
condition: state
|
||||
entity_id: alarm_control_panel.home
|
||||
state: input_select.guest_mode
|
||||
```
|
||||
|
||||
### Sun condition
|
||||
|
||||
#### Sun state condition
|
||||
|
Loading…
x
Reference in New Issue
Block a user