core: WeatherFlow Cloud is returning hail condition during snow/sleet/wintry mix

The problem

I have an automation that feeds WeatherFlow Cloud hourly forecast details to an LLM to get a summary of the next 24 hours of weather. I’m currently expecting (according to NWS forecasts) 12-24" of snow starting late tonight and into the next day, but my LLM summary keeps talking about hail.

Upon inspecting the returned results from weather.get_forecasts targeting my WeatherFlow Cloud entity, turns out that’s because the returned forecast lists hail as the condition quite a bit.

Here’s the next 8 hours as returned by weather.get_forecasts:

    - datetime: "2024-03-13T23:00:00Z"
      condition: lightning
      uv_index: 1
      wind_bearing: 70
      temperature: 43
      apparent_temperature: 36
      wind_gust_speed: 15.66
      wind_speed: 8.95
      precipitation: 0
      humidity: 75
    - datetime: "2024-03-14T00:00:00Z"
      condition: lightning
      uv_index: 0
      wind_bearing: 40
      temperature: 39
      apparent_temperature: 34
      wind_gust_speed: 13.42
      wind_speed: 8.95
      precipitation: 0
      humidity: 80
    - datetime: "2024-03-14T01:00:00Z"
      condition: rainy
      uv_index: 0
      wind_bearing: 350
      temperature: 37
      apparent_temperature: 30
      wind_gust_speed: 13.42
      wind_speed: 8.95
      precipitation: 0.04
      humidity: 86
    - datetime: "2024-03-14T02:00:00Z"
      condition: rainy
      uv_index: 0
      wind_bearing: 330
      temperature: 36
      apparent_temperature: 30
      wind_gust_speed: 13.42
      wind_speed: 8.95
      precipitation: 0.08
      humidity: 91
    - datetime: "2024-03-14T03:00:00Z"
      condition: hail
      uv_index: 0
      wind_bearing: 330
      temperature: 36
      apparent_temperature: 28
      wind_gust_speed: 13.42
      wind_speed: 8.95
      precipitation: 0.08
      humidity: 92
    - datetime: "2024-03-14T04:00:00Z"
      condition: hail
      uv_index: 0
      wind_bearing: 340
      temperature: 34
      apparent_temperature: 28
      wind_gust_speed: 11.18
      wind_speed: 8.95
      precipitation: 0.08
      humidity: 93
    - datetime: "2024-03-14T05:00:00Z"
      condition: hail
      uv_index: 0
      wind_bearing: 350
      temperature: 34
      apparent_temperature: 27
      wind_gust_speed: 13.42
      wind_speed: 8.95
      precipitation: 0.08
      humidity: 92
    - datetime: "2024-03-14T06:00:00Z"
      condition: hail
      uv_index: 0
      wind_bearing: 350
      temperature: 34
      apparent_temperature: 27
      wind_gust_speed: 13.42
      wind_speed: 8.95
      precipitation: 0.08
      humidity: 92

Here’s the same information captured from my station at tempestwx.com:

Screenshot 2024-03-13 16 14 19

lightning and rainy seem to match up, but when the forecast condition starts saying hail, inspecting the element of the tempestwx.com forecast shows <span style="background-image: url(/images/Updated/sleet.svg"></span>, and sleet seems more accurate than hail.

Is it possible that some condition(s) are not being mapped correctly? My Tempest app and the web page summarize the days overall as “wintry mix”, and the Tempest API at https://weatherflow.github.io/Tempest/api/swagger/#!/forecast/getBetterForecast doesn’t seem to list hail as a potential condition string, so I’m not sure where that’s coming from.

What version of Home Assistant Core has the issue?

core-2024.3.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

WeatherFlow Cloud

Link to integration documentation on our website

https://www.home-assistant.io/integrations/weatherflow_cloud/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: open
  • Created 4 months ago
  • Comments: 19 (16 by maintainers)

Most upvoted comments

@jeeftor is on a beach right now :)Sent from my iPhoneOn Mar 23, 2024, at 1:03 PM, Bjarne Riis @.***> wrote: @jeeftor is maintaining the Core Integration, that we are discussing here, so any chnges to the Icon mapping needs to come from him. The example I showed is from the Custom Integration Weatherflow Forecast which does the same (Plus currently a bit more) and I just put it there for inspiration.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>