Advertisement
mealsowheels

MQTT Automation

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