File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ Example:
117
117
{% raw %}
118
118
119
119
` ` ` yaml
120
- # Example automation
120
+ # Example automation for Netatmo Welcome
121
121
- alias: Motion at home
122
122
description: 'Motion detected at home'
123
123
trigger:
@@ -140,6 +140,30 @@ Example:
140
140
141
141
{% raw %}
142
142
143
+ ` ` ` yaml
144
+ # Example automation for Netatmo Presence
145
+ - alias: Motion at home
146
+ description: 'Motion detected at home'
147
+ trigger:
148
+ - event_type: netatmo_event
149
+ platform: event
150
+ event_data:
151
+ type: human # other possible types: animal, vehicle
152
+ action:
153
+ - data_template:
154
+ message: >
155
+ {{ trigger.event.data["data"]["message"] }}
156
+ at {{ trigger.event.data["data"]["home_name"] }}
157
+ title: Netatmo event
158
+ service: persistent_notification.create
159
+ ` ` `
160
+
161
+ {% endraw %}
162
+
163
+ Example :
164
+
165
+ {% raw %}
166
+
143
167
` ` ` yaml
144
168
# Example automation
145
169
- alias: door or window open or movement
You can’t perform that action at this time.
0 commit comments