Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-code-ruiz authored Oct 18, 2023
1 parent a163f3b commit cde0e51
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,36 @@ logger:
custom_components.elkbledom: debug
```

## Examples

Create button to turn on:

show_name: true
show_icon: true
name: turn on
type: button
tap_action:
action: toggle
entity: light.tiraled

Create button to set color:

show_name: true
show_icon: true
name: Red
type: button
tap_action:
action: call-service
service: light.turn_on
target:
entity_id: light.test
data:
rgb_color:
- 255
- 0
- 0
brightness: 255

## Known issues

1. Live state polling dont work.
Expand Down

0 comments on commit cde0e51

Please sign in to comment.