From 97b35ce27b695a9d21749dc065fabdbb7488deaf Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sun, 8 Feb 2026 11:21:33 -0500 Subject: [PATCH] fixing van_weather_template.yaml --- .../home_assistant/van_weather_template.yaml | 34 +++++++++++-------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/systems/brain/services/home_assistant/van_weather_template.yaml b/systems/brain/services/home_assistant/van_weather_template.yaml index 38e66d9..edad25d 100644 --- a/systems/brain/services/home_assistant/van_weather_template.yaml +++ b/systems/brain/services/home_assistant/van_weather_template.yaml @@ -1,15 +1,19 @@ -weather: - - platform: template - name: "Van Weather" - unique_id: van_weather_template - condition_template: "{{ states('sensor.van_weather_condition') }}" - temperature_template: "{{ states('sensor.van_weather_temperature') }}" - apparent_temperature_template: "{{ states('sensor.van_weather_apparent_temperature') }}" - humidity_template: "{{ states('sensor.van_weather_humidity') }}" - pressure_template: "{{ states('sensor.van_weather_pressure') }}" - wind_speed_template: "{{ states('sensor.van_weather_wind_speed') }}" - wind_bearing_template: "{{ states('sensor.van_weather_wind_bearing') }}" - visibility_template: "{{ states('sensor.van_weather_visibility') }}" - forecast_daily_template: "{{ state_attr('sensor.van_weather_forecast_daily', 'forecast') }}" - forecast_hourly_template: "{{ state_attr('sensor.van_weather_forecast_hourly', 'forecast') }}" - attribution_template: "Powered by Pirate Weather" +template: + - weather: + - name: "Van Weather" + unique_id: van_weather_template + condition_template: "{{ states('sensor.van_weather_condition') }}" + temperature_template: "{{ states('sensor.van_weather_temperature') }}" + temperature_unit: "°F" + apparent_temperature_template: "{{ states('sensor.van_weather_apparent_temperature') }}" + humidity_template: "{{ states('sensor.van_weather_humidity') }}" + pressure_template: "{{ states('sensor.van_weather_pressure') }}" + pressure_unit: "mbar" + wind_speed_template: "{{ states('sensor.van_weather_wind_speed') }}" + wind_speed_unit: "mph" + wind_bearing_template: "{{ states('sensor.van_weather_wind_bearing') }}" + visibility_template: "{{ states('sensor.van_weather_visibility') }}" + visibility_unit: "mi" + forecast_daily_template: "{{ state_attr('sensor.van_weather_forecast_daily', 'forecast') }}" + forecast_hourly_template: "{{ state_attr('sensor.van_weather_forecast_hourly', 'forecast') }}" + attribution_template: "Powered by Pirate Weather"