Update entities.md

This commit is contained in:
joBr99
2023-01-30 17:49:04 +01:00
committed by GitHub
parent 6dabb1ff1d
commit 11efb9a4e5

View File

@@ -75,7 +75,7 @@ There probably not much cases where this is needed, but here is an exmaple to sh
You can use the acual chars for the icon in the above ha: template, however if you want to use the icon names you can use `ha-i` instead. This will be evaluated as HA Template first and then looked up as an icon.
```
```yaml
icon: 'ha-i:{{ iif(is_state('light.kitchen', 'on'), 'mdi:flashlight', 'mdi:flashlight-off') }}'
```