We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7196cd2 commit 83e06e8Copy full SHA for 83e06e8
source/_components/lirc.markdown
@@ -110,16 +110,15 @@ The LIRC component fires `ir_command_received` events on the bus. You can captur
110
```yaml
111
# Example configuration.yaml automation entry
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
-
+ - 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
123
```
124
125
The `button_name` data values (e.g. `KEY_0`) are set by you in the `.lircrc` file.
0 commit comments