Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day summary/icon incorrect #369

Open
4 tasks done
cloneofghosts opened this issue Nov 8, 2024 · 1 comment
Open
4 tasks done

Day summary/icon incorrect #369

cloneofghosts opened this issue Nov 8, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cloneofghosts
Copy link
Collaborator

cloneofghosts commented Nov 8, 2024

Describe the bug

This morning I noticed a few instances where the day icon and summary aren't being calculated correctly. Examples below (cut out any details that weren't relevant in the day block):

Today

  "icon": "clear-day",
  "summary": "Clear",
  "precipIntensity": 0,
  "precipIntensityMax": 0,
  "precipProbability": 0.05,
  "precipAccumulation": 0,
  "cloudCover": 0.4,

Tuesday

  "icon": "clear-day",
  "summary": "Clear",
  "precipIntensity": 0.0161,
  "precipIntensityMax": 0.0468,
  "precipProbability": 0.44,
  "precipAccumulation": 0,
  "cloudCover": 0.38,

Wednesday

  "icon": "partly-cloudy-day",
  "summary": "Partly Cloudy",
  "precipIntensity": 0.0326,
  "precipIntensityMax": 0.2587,
  "precipProbability": 0.22,
  "precipAccumulation": 0.0698,
  "cloudCover": 0.37,

Expected behavior

Today and Tuesday should show Partly Cloudy as the summary and icon. Wednesday should show Clear as the summary and icon.

Actual behavior

Today and Tuesday shows Clear as the summary and icon. Wednesday shows Partly Cloudy as the summary and icon.

API Endpoint

Production

Location

Barrhaven, Ontario

Other details

This isn't related to the icon issue but I noticed that Tuesday has a precipIntensity above zero whereas the precipAccumulation is 0. I thought it would be above zero in this case.

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.
@cloneofghosts cloneofghosts added the bug Something isn't working label Nov 8, 2024
@cloneofghosts
Copy link
Collaborator Author

@alexander0042 Been a few hours since my post and am still seeing the issue. It only seems to happen when cloudCover is close to 37.5% as there is another day with 66% cloudCover and it works without any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants