new_device_tracker

View All Rules

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."
  - service: notify.signal_stuart
    data:
      message: "A new device just joined the network."

© 2020. Some rights reserved. The contents of this site is released under a Creative Commons Attribution-Share Alike license.