Skip to content

Daily precipType snow with only one hour of snow precipType forecasted #413

@cloneofghosts

Description

@cloneofghosts

Describe the bug

I noticed that the API is forecasting a brief period of rain this afternoon with enough accumulation (1.2mm) but the daily summary doesn't mention any rain but maybe this is due to the daily precipType being snow for some reason.

A snippet of today's data is below:

{
  "time": 1740459600,
  "summary": "Mostly Cloudy",
  "icon": "partly-cloudy-day",
  "precipIntensity": 0.0529,
  "precipIntensityMax": 0.254,
  "precipIntensityMaxTime": 1740466800,
  "precipProbability": 0.37,
  "precipAccumulation": 0.127,
  "precipType": "snow",
  "liquidAccumulation": 0.127,
  "snowAccumulation": 0,
  "iceAccumulation": 0,
},

I looked through the hourly data for the rest of the day and the API is only returning the snow precipType for the rest of the day so am confused as to why snow would be showing and not rain. Even if the precipType for the last 9 hours was snow there would still be more rain than snow (13 hours vs 11 hours).

Expected behavior

The API returns rain as the daily precipType and shows the rain icon and summary for the current day

Actual behavior

The API returns snow as the daily precipType and shows the partly cloudy icon and mostly cloudy summary for the current day

API Endpoint

Production

Location

Ottawa, Ontario

Other details

No response

Troubleshooting steps

  • I have searched this repository and Home Assistant Repository to see if the issue has already been reported.
  • I have read through the API documentation before opening this issue.
  • I have not included my API key anywhere in my issue.
  • I have written an informative title.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    In Progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions