Skip to content

Commit 85b2be9

Browse files
authored
Fix iif template example typo (home-assistant#21529)
1 parent f1e665c commit 85b2be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/_docs/configuration/templating.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ Examples using `iif`:
369369
370370
{{ is_state('light.kitchen', 'on') | iif('Yes', 'No') }}
371371
372-
{{ (state('light.kitchen') == 'on') | iif('Yes', 'No') }}
372+
{{ (states('light.kitchen') == 'on') | iif('Yes', 'No') }}
373373
```
374374

375375
{% endraw %}

0 commit comments

Comments
 (0)