Skip to content

Commit 83e06e8

Browse files
committed
Fix indent
1 parent 7196cd2 commit 83e06e8

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

source/_components/lirc.markdown

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,16 +110,15 @@ The LIRC component fires `ir_command_received` events on the bus. You can captur
110110
```yaml
111111
# Example configuration.yaml automation entry
112112
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
123122
```
124123

125124
The `button_name` data values (e.g. `KEY_0`) are set by you in the `.lircrc` file.

0 commit comments

Comments
 (0)