Update picture-glance.markdown (#11504)

Extended the description for the entity entry and the state_filter example (now including an entity entry.

Reason is that the state_filter requires an entity entry. This was not documented yet.
This commit is contained in:
berichta 2019-12-20 12:05:45 +01:00 committed by Franck Nijhof
parent 972b025b47
commit 4f432133cf

View File

@ -56,7 +56,7 @@ aspect_ratio:
type: string
entity:
required: false
description: Entity to use for `state_image`.
description: Entity to use for `state_image` and `state_filter`.
type: string
show_state:
required: false
@ -320,6 +320,7 @@ Specify different [CSS filters](https://developer.mozilla.org/en-US/docs/Web/CSS
state_filter:
"on": brightness(110%) saturate(1.2)
"off": brightness(50%) hue-rotate(45deg)
entity: switch.decorative_lights
```
## Examples