Fix indent
This commit is contained in:
parent
7196cd2082
commit
83e06e8f49
1 changed files with 9 additions and 10 deletions
|
@ -110,16 +110,15 @@ The LIRC component fires `ir_command_received` events on the bus. You can captur
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml automation entry
|
# Example configuration.yaml automation entry
|
||||||
automation:
|
automation:
|
||||||
- alias: Off on Remote
|
- alias: Off on Remote
|
||||||
trigger:
|
trigger:
|
||||||
platform: event
|
platform: event
|
||||||
event_type: ir_command_received
|
event_type: ir_command_received
|
||||||
event_data:
|
event_data:
|
||||||
button_name: KEY_0
|
button_name: KEY_0
|
||||||
action:
|
action:
|
||||||
service: homeassistant.turn_off
|
service: homeassistant.turn_off
|
||||||
entity_id: group.a_lights
|
entity_id: group.a_lights
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
The `button_name` data values (e.g. `KEY_0`) are set by you in the `.lircrc` file.
|
The `button_name` data values (e.g. `KEY_0`) are set by you in the `.lircrc` file.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue