mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 14:26:51 +00:00
Fixing broken "Picture Card" code example (#13668)
This commit is contained in:
parent
bee1a31b0a
commit
fc7dce0061
@ -66,7 +66,9 @@ Toggle entity using a service:
|
|||||||
```yaml
|
```yaml
|
||||||
type: picture
|
type: picture
|
||||||
image: /local/light.png
|
image: /local/light.png
|
||||||
service: light.toggle
|
tap_action:
|
||||||
service_data:
|
action: call-service
|
||||||
entity_id: light.ceiling_lights
|
service: light.toggle
|
||||||
|
service_data:
|
||||||
|
entity_id: light.ceiling_lights
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user