1
0

Disable arrive/leave notification, when home is target state

This commit is contained in:
Przemek Grondek 2022-11-29 01:06:33 +01:00
parent 38f55f54d9
commit 715b599324

View File

@ -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: