Fix indent

This commit is contained in:
Fabian Affolter 2016-10-03 22:37:37 +02:00
parent 7196cd2082
commit 83e06e8f49
No known key found for this signature in database
GPG Key ID: DDF3D6F44AAB1336

View File

@ -110,16 +110,15 @@ The LIRC component fires `ir_command_received` events on the bus. You can captur
```yaml
# Example configuration.yaml automation entry
automation:
- alias: Off on Remote
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: KEY_0
action:
service: homeassistant.turn_off
entity_id: group.a_lights
- alias: Off on Remote
trigger:
platform: event
event_type: ir_command_received
event_data:
button_name: KEY_0
action:
service: homeassistant.turn_off
entity_id: group.a_lights
```
The `button_name` data values (e.g. `KEY_0`) are set by you in the `.lircrc` file.