mirror of
https://github.com/thejeffreystone/home-assistant-configuration.git
synced 2025-02-09 00:55:08 +00:00
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…
x
Reference in New Issue
Block a user