mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-27 19:26:50 +00:00
Update Entity Button Docs (#7588)
This commit is contained in:
parent
0fc200df3a
commit
130ce79a29
@ -77,6 +77,7 @@ Title and Script Service Example:
|
|||||||
```yaml
|
```yaml
|
||||||
- type: entity-button
|
- type: entity-button
|
||||||
name: Turn Off Lights
|
name: Turn Off Lights
|
||||||
|
tap_action: call-service
|
||||||
entity: script.turn_off_lights
|
entity: script.turn_off_lights
|
||||||
service: script.turn_on
|
service: script.turn_on
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user