mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Fix iif template example typo (#21529)
This commit is contained in:
parent
f1e665cd4c
commit
85b2be9721
@ -369,7 +369,7 @@ Examples using `iif`:
|
||||
|
||||
{{ is_state('light.kitchen', 'on') | iif('Yes', 'No') }}
|
||||
|
||||
{{ (state('light.kitchen') == 'on') | iif('Yes', 'No') }}
|
||||
{{ (states('light.kitchen') == 'on') | iif('Yes', 'No') }}
|
||||
```
|
||||
|
||||
{% endraw %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user