From 59750bf6e8af5055feef7e9408974b3339313ae1 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 30 Mar 2022 15:46:54 -0400 Subject: [PATCH] Added a temnplate weather integration --- packages/custom_weather.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/custom_weather.yaml diff --git a/packages/custom_weather.yaml b/packages/custom_weather.yaml new file mode 100644 index 0000000..1165a29 --- /dev/null +++ b/packages/custom_weather.yaml @@ -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" \ No newline at end of file