Advertisement
Guest User

attacco yammer

a guest
Feb 17th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.58 KB | None | 0 0
  1. - alias: "Allarme Jammer Yeelight"
  2.   trigger:
  3.     - platform: state
  4.       entity_id:
  5.        - light.bagno_int
  6.         - light.ingresso
  7.         - light.led_salotto
  8.       to: 'unavailable'
  9.       for:
  10.         seconds: 2
  11.   action:
  12.     service: notify.telegram
  13.     data_template:
  14.       title: "RISCHIO ATTACCO JAMMER"
  15.       message: {{ trigger.to\_state.attributes.friendly_name }} inspiegabilmente off line
  16.     service: notify.simplepush
  17.     data_template:
  18.       title: "RISCHIO ATTACCO JAMMER"
  19.       message: {{ trigger.to\_state.attributes.friendly_name }} inspiegabilmente off line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement