mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +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
|
type: string
|
||||||
entity:
|
entity:
|
||||||
required: false
|
required: false
|
||||||
description: Entity to use for `state_image`.
|
description: Entity to use for `state_image` and `state_filter`.
|
||||||
type: string
|
type: string
|
||||||
show_state:
|
show_state:
|
||||||
required: false
|
required: false
|
||||||
@ -320,6 +320,7 @@ Specify different [CSS filters](https://developer.mozilla.org/en-US/docs/Web/CSS
|
|||||||
state_filter:
|
state_filter:
|
||||||
"on": brightness(110%) saturate(1.2)
|
"on": brightness(110%) saturate(1.2)
|
||||||
"off": brightness(50%) hue-rotate(45deg)
|
"off": brightness(50%) hue-rotate(45deg)
|
||||||
|
entity: switch.decorative_lights
|
||||||
```
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
Loading…
x
Reference in New Issue
Block a user