Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ####################################
- ####### PYWWS Stazione Meteo #######
- ####################################
- sensor:
- - platform: mqtt
- name: "H Esterna"
- icon: mdi:water-percent
- state_topic: "homeassistant/sensor/weather/pywws"
- unit_of_measurement: '%'
- value_template: "{{ value_json.hum_out }}"
- - platform: mqtt
- name: "H interna"
- icon: mdi:water-percent
- state_topic: "homeassistant/sensor/weather/pywws"
- unit_of_measurement: '%'
- value_template: "{{ value_json.hum_in }}"
- - platform: mqtt
- name: "T Esterna"
- state_topic: "homeassistant/sensor/weather/pywws"
- unit_of_measurement: '°C'
- value_template: "{{ value_json.temp_out_c }}"
- - platform: mqtt
- name: "T Interna"
- state_topic: "homeassistant/sensor/weather/pywws"
- unit_of_measurement: '°C'
- value_template: "{{ value_json.temp_in_c }}"
- - platform: mqtt
- name: "Vento - Direzione"
- icon: mdi:compass
- state_topic: "homeassistant/sensor/weather/pywws"
- unit_of_measurement: '°'
- value_template: "{{ value_json.wind_dir }}"
- - platform: mqtt
- name: "Vento - Velocità Media"
- icon: mdi:weather-windy
- state_topic: "homeassistant/sensor/weather/pywws"
- unit_of_measurement: 'm/s'
- value_template: "{{ (value_json.wind_ave | float * 0.44704) | round (1) }}"
- - platform: mqtt
- name: "Vento - Raffica"
- icon: mdi:weather-windy
- state_topic: "homeassistant/sensor/weather/pywws"
- unit_of_measurement: 'm/s'
- value_template: "{{ (value_json.wind_gust | float * 0.44704) | round (1) }}"
- - platform: mqtt
- name: "Pressione"
- icon: mdi:gauge
- state_topic: "homeassistant/sensor/weather/pywws"
- unit_of_measurement: 'hPa'
- value_template: "{{ (value_json.rel_pressure | float * 33.863886666667) | round (1) }}"
- - platform: mqtt
- name: "Pioggia"
- icon: mdi:weather-rainy
- state_topic: "homeassistant/sensor/weather/pywws"
- unit_of_measurement: 'mm/h'
- value_template: "{{ value_json.rain }}"
- - platform: mqtt
- name: "Pioggia - 24h"
- icon: mdi:weather-rainy
- state_topic: "homeassistant/sensor/weather/pywws"
- unit_of_measurement: 'mm/24h'
- value_template: "{{ value_json.dailyrain }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement