-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
SMHI weather component not showing correct values in current forecast #17783
Conversation
@@ -20,7 +20,7 @@ | |||
|
|||
from .const import DOMAIN, HOME_LOCATION_NAME | |||
|
|||
REQUIREMENTS = ['smhi-pkg==1.0.4'] | |||
REQUIREMENTS = ['smhi-pkg==1.0.5'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config flow shouldn't have requirements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is harder since I use the component to validate input. I will have to find another way to do this. But now when I think about it we dont want dependencies here. I will fix it tonight before we release 0.81
@@ -30,7 +30,7 @@ | |||
ENTITY_ID_SENSOR_FORMAT, ATTR_SMHI_CLOUDINESS) | |||
|
|||
DEPENDENCIES = ['smhi'] | |||
REQUIREMENTS = ['smhi-pkg==1.0.4'] | |||
REQUIREMENTS = ['smhi-pkg==1.0.5'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
platform shouldn't have requirement, it is done through dependency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok this one I should just remove
…#17783) * fixes not showing current forecast correctly * Update config_flow.py * Update smhi.py * Update requirements_all.txt * Update requirements_test_all.txt
Description:
In some cases the Swedish weather forecast lib not returning correct forecast for the current value
Fix: new lib version 1.0.5
Checklist:
tox
. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
REQUIREMENTS
variable ([example][ex-requir]).requirements_all.txt
by runningscript/gen_requirements_all.py
..coveragerc
.If the code does not interact with devices: