Use arrival detection for presence

This commit is contained in:
2020-03-09 19:12:50 +02:00
parent e5c0c2dc62
commit 5e4026e098
+1 -2
View File
@@ -59,7 +59,6 @@ automation:
trigger: trigger:
platform: state platform: state
entity_id: person.georgi entity_id: person.georgi
from: "not_home"
to: "home" to: "home"
condition: condition:
condition: state condition: state
@@ -97,7 +96,7 @@ automation:
alias: Presence · Coming home alias: Presence · Coming home
trigger: trigger:
platform: state platform: state
entity_id: person.georgi entity_id: input_boolean.georgi_home
to: "home" to: "home"
action: action:
- service: script.routine_coming_home - service: script.routine_coming_home