Disable arrive/leave notification, when home is target state
This commit is contained in:
parent
38f55f54d9
commit
715b599324
@ -4,6 +4,11 @@
|
||||
- platform: state
|
||||
entity_id: person.przemek
|
||||
to: home
|
||||
- condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
action:
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
@ -21,6 +26,11 @@
|
||||
- platform: state
|
||||
entity_id: person.przemek
|
||||
from: home
|
||||
- condition: not
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Away
|
||||
action:
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
|
Loading…
Reference in New Issue
Block a user