Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (20 sloc) 613 Bytes
---
alias: new_device_tracker
trigger:
- platform: event
event_type: device_tracker_new_device
action:
- service: notify.synchat_tweets
data_template:
message: >
{{ [
"New Device on the Network! @ubnt has alerted me and now it is locked down.",
"Constant monitoring of the network by @ubnt has detected a new device in the environment."
] | random + " (https://amzn.to/2SKJ957)"}}
- service: notify.alexa_media
data:
target:
- media_player.alexa_study
data:
type: announce
message: "A new device just joined the network."
You can’t perform that action at this time.