This commit is contained in:
2022-01-19 07:17:26 +01:00
parent 93dca5e8b4
commit 3be704e23c
18 changed files with 831 additions and 0 deletions
+127
View File
@@ -0,0 +1,127 @@
- alias: 'Mor kommer hjem'
trigger:
platform: state
entity_id: device_tracker.annes_iphone_xs
to: 'home'
action:
service: notify.mobile_app_claus_iphone8
data:
message: 'Mor kommer hjem'
- alias: 'Daniel kommer hjem (mor)'
trigger:
platform: state
entity_id: device_tracker.daniels_iphone_7
to: 'home'
action:
service: notify.mobile_app_annes_iphone_xs
data:
message: 'Daniel kommer hjem'
- alias: 'Daniel kommer hjem'
trigger:
platform: state
entity_id: device_tracker.daniels_iphone_7
to: 'home'
action:
service: notify.mobile_app_claus_iphone8
data:
message: 'Daniel kommer hjem'
- alias: 'Andreas kommer hjem (mor)'
trigger:
platform: state
entity_id: device_tracker.andreas_iphone_12
to: 'home'
action:
service: notify.mobile_app_annes_iphone_xs
data:
message: 'Andreas kommer hjem'
- alias: 'Andreas kommer hjem'
trigger:
platform: state
entity_id: device_tracker.andreas_iphone_12
to: 'home'
action:
service: notify.mobile_app_claus_iphone8
data:
message: 'Andreas kommer hjem'
- alias: 'Andreas ankommer til skole (mor)'
trigger:
platform: state
entity_id: device_tracker.andreas_iphone_12
to: 'Skole'
action:
service: notify.mobile_app_annes_iphone_xs
data:
message: 'Andreas ankommer til skole'
- alias: 'Andreas ankommer til skole'
trigger:
platform: state
entity_id: device_tracker.andreas_iphone_12
to: 'Skole'
action:
service: notify.mobile_app_claus_iphone8
data:
message: 'Andreas ankommer til skole'
- alias: 'Andreas tager fra skole'
trigger:
platform: state
entity_id: device_tracker.andreas_iphone_12
from: 'Skole'
action:
service: notify.mobile_app_claus_iphone8
data:
message: 'Andreas tager fra skole'
- alias: 'Daniel ankommer til skole (mor)'
trigger:
platform: state
entity_id: device_tracker.daniels_iphone_7
to: 'Skole'
action:
service: notify.mobile_app_annes_iphone_xs
data:
message: 'Daniel ankommer til skole'
- alias: 'Daniel ankommer til skole'
trigger:
platform: state
entity_id: device_tracker.daniels_iphone_7
to: 'Skole'
action:
service: notify.mobile_app_claus_iphone8
data:
message: 'Daniel ankommer til skole'
- alias: 'Daniel tager fra skole'
trigger:
platform: state
entity_id: device_tracker.daniels_iphone_7
from: 'Skole'
action:
service: notify.mobile_app_claus_iphone8
data:
message: 'Daniel tager fra skole'