daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # ESP DHT11
  2. #sensorKuba
  3. - platform: dht
  4.   sensor: DHT11
  5.   pin: 27
  6.   temperature_offset: 2.1
  7.   humidity_offset: -3.2
  8.   monitored_conditions:
  9.     - temperature
  10.     - humidity
  11. #sensorSypialnia
  12. - platform: mqtt
  13.   state_topic: "/Sypialnia/Sypialnia/TemperaturaSypialnia"
  14.   name: Temperatura Sypialnia
  15.   qos: 0
  16.   unit_of_measurement: "ÂşC"
  17. - platform: mqtt
  18.   state_topic: "/Sypialnia/Sypialnia/WilgotnoscSypialnia"
  19.   name: Wilgotnosc Sypialnia
  20.   qos: 0
  21.   unit_of_measurement: "%"
  22. #sensorSalon
  23. - platform: mqtt
  24.   state_topic: "/Salon/Salon/TemperaturaSalon"
  25.   name: Temperatura Salon
  26.   qos: 0
  27.   unit_of_measurement: "ÂşC"
  28. - platform: mqtt
  29.   state_topic: "/Salon/Salon/WilgotnoscSalon"
  30.   name: Wilgotnosc Salon
  31.   qos: 0
  32.   unit_of_measurement: "%"
  33. #czujnikSalon
  34. - platform: mqtt
  35.   state_topic: "/Salon/CzujnikSalon/Switch"
  36.   name: "CzujnikSalon"
  37.   icon: mdi:lock
  38.   qos: 0
  39. #czasDATA
  40. - platform: time_date
  41.   display_options:
  42.     - "date_time"
  43. #kontaktron
  44. - platform: template
  45.   kontaktron_salon_stan:
  46.     friendly_name: 'Okno w salonie'
  47.     value_template: '{% if is_state("sensor.czujniksalon", "0") %}OTWARTE{% else %}ZAMKNIĘTE{% endif %}'
  48.     icon_template: '{% if is_state("sensor.czujniksalon", "0") %}mdi:lock-open{% else %}mdi:lock{% endif %}'
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