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