File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -110,16 +110,15 @@ The LIRC component fires `ir_command_received` events on the bus. You can captur
110
110
` ` ` yaml
111
111
# Example configuration.yaml automation entry
112
112
automation:
113
- - alias: Off on Remote
114
- trigger:
115
- platform: event
116
- event_type: ir_command_received
117
- event_data:
118
- button_name: KEY_0
119
- action:
120
- service: homeassistant.turn_off
121
- entity_id: group.a_lights
122
-
113
+ - alias: Off on Remote
114
+ trigger:
115
+ platform: event
116
+ event_type: ir_command_received
117
+ event_data:
118
+ button_name: KEY_0
119
+ action:
120
+ service: homeassistant.turn_off
121
+ entity_id: group.a_lights
123
122
` ` `
124
123
125
124
The `button_name` data values (e.g. `KEY_0`) are set by you in the `.lircrc` file.
You can’t perform that action at this time.
0 commit comments