diff --git a/source/_components/lirc.markdown b/source/_components/lirc.markdown index 3880f60ff48..1b74f5832b5 100644 --- a/source/_components/lirc.markdown +++ b/source/_components/lirc.markdown @@ -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.