SHARE
TWEET

Untitled

anthyava95 Jan 19th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #TERMOSTATO
  2. - platform: mqtt
  3.   name: "Temperatura"
  4.   state_topic: "tele/termostato/SENSOR"
  5.   value_template: "{{ value_json['DHT11']['Temperature'] }}"
  6.   unit_of_measurement: "°C"
  7.   availability_topic: "tele/termostato/LWT"
  8.   payload_available: "Online"
  9.   payload_not_available: "Offline"
  10. - platform: mqtt
  11.   name: "Umidità"
  12.   state_topic: "tele/termostato/SENSOR"
  13.   value_template: "{{ value_json['DHT11']['Humidity'] }}"
  14.   unit_of_measurement: "%"
  15.   availability_topic: "tele/termostato/LWT"
  16.   payload_available: "Online"
  17.   payload_not_available: "Offline"
  18.  
  19. #onoff
  20. - platform: mqtt
  21.   name: "onoff"
  22.   state_topic: "stat/termostato/RESULT"
  23.   value_template: "{{ value_json['POWER']}}"
  24.   availability_topic: "tele/termostato/LWT"
  25.   payload_available: "Online"
  26.   payload_not_available: "Offline"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top