Added a temnplate weather integration

This commit is contained in:
2022-03-30 15:46:54 -04:00
parent cea310d642
commit 59750bf6e8

View File

@ -0,0 +1,12 @@
weather:
- platform: template
name: "Iron Nerd Weather Station"
condition_template: "{{ states('weather.stratton_ave') }}"
temperature_template: "{{ states('sensor.temperature') | float }}"
humidity_template: "{{ states('sensor.humidity') | float }}"
forecast_template: "{{ state_attr('weather.stratton_ave', 'forecast') }}"
pressure_template: "{{ states('sensor.barometric_pressure') | float }}"
wind_speed_template: "{{ states('sensor.wind_speed') | float }}"
wind_bearing_template: "{{ states('sensor.wind_direction') | float }}"
visibility_template: "{{ states('sensor.kdfi_visibility') | float }}"
attribution_template: "Weather data from Iron Nerd's custom weather station template"