Advertisement
techblog

red_alert_ha

Nov 22nd, 2019
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.47 KB | None | 0 0
  1. #This will get only the list of areas
  2.   - platform: mqtt
  3.     name: "Red Alert"
  4.     state_topic: "/redalert/"
  5.     # unit_of_measurement: '%'
  6.     icon: fas:broadcast-tower
  7.     value_template: "{{ value_json.data }}"
  8.     qos: 1
  9.  
  10. #this will get the full alert including Title and Date
  11.   - platform: mqtt
  12.     name: "Red Alert"
  13.     state_topic: "/redalert/"
  14.     # unit_of_measurement: '%'
  15.     icon: fas:broadcast-tower
  16.     value_template: "{{ value_json }}"
  17.     qos: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement