Skip to content

Commit 89406e3

Browse files
DubhAdfrenck
authored andcommitted
Consistency update (home-assistant#5136)
It was pointed out that everywhere else `entity_id:` is in the `data:` section for `light.turn_on`. Updating the example here to be consistent with that.
1 parent e3c6e65 commit 89406e3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

source/_docs/automation/action.markdown

+3-4
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ automation:
2222
event: sunset
2323
action:
2424
service: light.turn_on
25-
entity_id:
26-
- light.kitchen
27-
- light.living_room
2825
data:
2926
brightness: 150
3027
rgb_color: [255, 0, 0]
31-
28+
entity_id:
29+
- light.kitchen
30+
- light.living_room
3231
automation 2:
3332
# Notify me on my mobile phone of an event
3433
trigger:

0 commit comments

Comments
 (0)