-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
integration met (meteorologisk institutt) does not provide the correct information (at night) #89001
Comments
Hey there @Danielhiversen, @thimic, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) met documentation |
Would be great to get this fixed |
The met.no API returns cloudy and partlycloudy for the night forecast. This isn't handled in a correct way in the HA code. cloudy, partlycloudy and clear conditions can apply both to the day and to the night. HA appears to be missing logic to decide if it should use an icon with the sun or something else based on the sunset and sunrise. Some examples would be
|
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem hasn't been fixed. The issue shouldn't be closed. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This issue needs to be kept open, it's still very much an issue as 3AM shows bright sunshine on the forecast. |
* Report correct weather condition at night for Met, fixes #68369, fixes #89001 * Update homeassistant/components/met/weather.py Co-authored-by: Jan-Philipp Benecke <[email protected]> --------- Co-authored-by: Jan-Philipp Benecke <[email protected]>
* Report correct weather condition at night for Met, fixes #68369, fixes #89001 * Update homeassistant/components/met/weather.py Co-authored-by: Jan-Philipp Benecke <[email protected]> --------- Co-authored-by: Jan-Philipp Benecke <[email protected]>
The problem
file /homeassistant/components/met/const.py is clearly showing the following information available:
but within the card, only "Sunny" will be shown - even at midnight.
The Screenshot compares the information provided by AccuWeather (top) and the information provided by the 'met' integration at the same time (the time can be seen below in the tile card)
What version of Home Assistant Core has the issue?
2023.03.01
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
met
Link to integration documentation on our website
https://www.home-assistant.io/integrations/met
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
The text was updated successfully, but these errors were encountered: