mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
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:
parent
972b025b47
commit
4f432133cf
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user