Skip to content

Commit

Permalink
Removed the rounding for precipitation - key for UK weather!
Browse files Browse the repository at this point in the history
  • Loading branch information
chunkysteveo authored Dec 13, 2023
1 parent 744b10d commit 053588a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ha-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ template:
wm_temp_0: >
{{ weather_home_hourly['weather.home']['forecast'][0].temperature | round }}
wm_precipitation_0: >
{{ weather_home_hourly['weather.home']['forecast'][0].precipitation | round }}
{{ weather_home_hourly['weather.home']['forecast'][0].precipitation }}
wm_wind_speed_0: >
{{ weather_home_hourly['weather.home']['forecast'][0].wind_speed | round }}
wm_wind_dir_0: >
Expand All @@ -89,7 +89,7 @@ template:
wm_temp_1: >
{{ weather_home_hourly['weather.home']['forecast'][1].temperature | round }}
wm_precipitation_1: >
{{ weather_home_hourly['weather.home']['forecast'][1].precipitation | round }}
{{ weather_home_hourly['weather.home']['forecast'][1].precipitation }}
wm_wind_speed_1: >
{{ weather_home_hourly['weather.home']['forecast'][1].wind_speed | round }}
wm_wind_dir_1: >
Expand All @@ -113,7 +113,7 @@ template:
wm_temp_2: >
{{ weather_home_hourly['weather.home']['forecast'][2].temperature | round }}
wm_precipitation_2: >
{{ weather_home_hourly['weather.home']['forecast'][2].precipitation | round }}
{{ weather_home_hourly['weather.home']['forecast'][2].precipitation }}
wm_wind_speed_2: >
{{ weather_home_hourly['weather.home']['forecast'][2].wind_speed | round }}
wm_wind_dir_2: >
Expand All @@ -137,7 +137,7 @@ template:
wm_temp_3: >
{{ weather_home_hourly['weather.home']['forecast'][3].temperature | round }}
wm_precipitation_3: >
{{ weather_home_hourly['weather.home']['forecast'][3].precipitation | round }}
{{ weather_home_hourly['weather.home']['forecast'][3].precipitation }}
wm_wind_speed_3: >
{{ weather_home_hourly['weather.home']['forecast'][3].wind_speed | round }}
wm_wind_dir_3: >
Expand All @@ -150,7 +150,7 @@ template:
wm_temp_4: >
{{ state_attr('weather.home', 'forecast')[1].temperature | round }}
wm_precipitation_4: >
{{ state_attr('weather.home', 'forecast')[1].precipitation | round }}
{{ state_attr('weather.home', 'forecast')[1].precipitation }}
wm_temp_4_low: >
{{ state_attr('weather.home', 'forecast')[1].templow | round }}
wm_wind_speed_4: >
Expand All @@ -165,7 +165,7 @@ template:
wm_temp_5: >
{{ state_attr('weather.home', 'forecast')[2].temperature | round }}
wm_precipitation_5: >
{{ state_attr('weather.home', 'forecast')[2].precipitation | round }}
{{ state_attr('weather.home', 'forecast')[2].precipitation }}
wm_temp_5_low: >
{{ state_attr('weather.home', 'forecast')[2].templow | round }}
wm_wind_speed_5: >
Expand All @@ -180,7 +180,7 @@ template:
wm_temp_6: >
{{ state_attr('weather.home', 'forecast')[3].temperature | round }}
wm_precipitation_6: >
{{ state_attr('weather.home', 'forecast')[3].precipitation | round }}
{{ state_attr('weather.home', 'forecast')[3].precipitation }}
wm_temp_6_low: >
{{ state_attr('weather.home', 'forecast')[3].templow | round }}
wm_wind_speed_6: >
Expand All @@ -195,7 +195,7 @@ template:
wm_temp_7: >
{{ state_attr('weather.home', 'forecast')[4].temperature | round }}
wm_precipitation_7: >
{{ state_attr('weather.home', 'forecast')[4].precipitation | round }}
{{ state_attr('weather.home', 'forecast')[4].precipitation }}
wm_temp_7_low: >
{{ state_attr('weather.home', 'forecast')[4].templow | round }}
wm_wind_speed_7: >
Expand Down

0 comments on commit 053588a

Please sign in to comment.