diff --git a/atom.xml b/atom.xml index 436bc9dace..5285bb4c7d 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
after
keyword has been deprecated in favor of the at
keyword. This resembles better what it does (old one still works, gives a warning) (@armills - #7846) (automation.time docs) (breaking change)after
keyword for time triggers (not conditions) has been deprecated in favor of the at
keyword. This resembles better what it does (old one still works, gives a warning) (@armills - #7846) (automation.time docs) (breaking change)above
and below
will no longer trigger if it is equal. (@armills - #7857) (breaking change)xy_color
and rgb_color
. (@amelchio - #7765) (breaking change)after
keyword has been deprecated in favor of the at
keyword. This resembles better what it does (old one still works, gives a warning) (@armills - #7846) (automation.time docs) (breaking change)after
keyword for time triggers (not conditions) has been deprecated in favor of the at
keyword. This resembles better what it does (old one still works, gives a warning) (@armills - #7846) (automation.time docs) (breaking change)above
and below
will no longer trigger if it is equal. (@armills - #7857) (breaking change)xy_color
and rgb_color
. (@amelchio - #7765) (breaking change)after
keyword has been deprecated in favor of the at
keyword. This resembles better what it does (old one still works, gives a warning) (@armills - #7846) (automation.time docs) (breaking change)after
keyword for time triggers (not conditions) has been deprecated in favor of the at
keyword. This resembles better what it does (old one still works, gives a warning) (@armills - #7846) (automation.time docs) (breaking change)above
and below
will no longer trigger if it is equal. (@armills - #7857) (breaking change)xy_color
and rgb_color
. (@amelchio - #7765) (breaking change)configuration.yaml
+
+In order to apply attributes to an entity you will need to add data:
to the configuration. See example below
+
# Example configuration.yaml entry
+automation:
+- id: one
+ alias: Turn on light when motion is detected
+ trigger:
+ - platform: state
+ entity_id: binary_sensor.motion_1
+ to: 'on'
+ action:
+ - service: light.turn_on
+ data:
+ entity_id: light.living_room
+ brightness: 255
+ kelvin: 2700
+
+light.turn_off
Turns one or multiple lights off.