Advertisement
mealsowheels

MQTT Automation

Jan 24th, 2022
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. - alias: 'MQTT Testing'
  2. initial_state: 'on'
  3. mode: single
  4. trigger:
  5. platform: mqtt
  6. topic: home/neokey/buttona
  7. # Optional
  8. # payload: "on"
  9. # encoding: "utf-8"
  10. action:
  11. delay: "00:00:01"
  12. service: notify.notify
  13. data_template:
  14. title: "MQTT Testing"
  15. message: "Button A Pressed"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement