Moving a couple of scripts to mqtt triggers
This commit is contained in:
parent
187f53091e
commit
86c60651fc
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue