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"
|
alias: "Jeff Arrives Home"
|
||||||
trigger:
|
trigger:
|
||||||
platform: zone
|
# platform: zone
|
||||||
event: enter
|
# event: enter
|
||||||
zone: zone.home
|
# zone: zone.home
|
||||||
entity_id: device_tracker.jeffreystonesiphone
|
# entity_id: device_tracker.jeffreystonesiphone
|
||||||
|
platform: mqtt
|
||||||
|
topic: anchoragehouse/jeffrey/status
|
||||||
|
# Optional
|
||||||
|
payload: 'stationary'
|
||||||
action:
|
action:
|
||||||
- service: notify.notify
|
- service: notify.notify
|
||||||
data:
|
data:
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
alias: "Jeff Leaves Summit"
|
alias: "Jeff Leaves Summit"
|
||||||
trigger:
|
trigger:
|
||||||
platform: zone
|
# platform: zone
|
||||||
event: leave
|
# event: leave
|
||||||
zone: zone.summit
|
# zone: zone.summit
|
||||||
entity_id: device_tracker.jeffreystonesiphone
|
# entity_id: device_tracker.jeffreystonesiphone
|
||||||
|
platform: mqtt
|
||||||
|
topic: anchoragehouse/jeffrey/status
|
||||||
|
# Optional
|
||||||
|
payload: 'moving'
|
||||||
action:
|
action:
|
||||||
- service: notify.notify
|
- service: notify.notify
|
||||||
data:
|
data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user