Moving a couple of scripts to mqtt triggers

This commit is contained in:
Jeffrey Stone 2017-04-12 13:10:10 -04:00
parent 187f53091e
commit 86c60651fc
2 changed files with 16 additions and 8 deletions

View File

@ -1,9 +1,13 @@
alias: "Jeff Arrives Home"
trigger:
platform: zone
event: enter
zone: zone.home
entity_id: device_tracker.jeffreystonesiphone
# platform: zone
# event: enter
# zone: zone.home
# entity_id: device_tracker.jeffreystonesiphone
platform: mqtt
topic: anchoragehouse/jeffrey/status
# Optional
payload: 'stationary'
action:
- service: notify.notify
data:

View File

@ -1,9 +1,13 @@
alias: "Jeff Leaves Summit"
trigger:
platform: zone
event: leave
zone: zone.summit
entity_id: device_tracker.jeffreystonesiphone
# platform: zone
# event: leave
# zone: zone.summit
# entity_id: device_tracker.jeffreystonesiphone
platform: mqtt
topic: anchoragehouse/jeffrey/status
# Optional
payload: 'moving'
action:
- service: notify.notify
data: