Skip to content

Commit

Permalink
SMHI weather component not showing correct values in current forecast (
Browse files Browse the repository at this point in the history
…#17783)

* fixes not showing current forecast correctly

* Update config_flow.py

* Update smhi.py

* Update requirements_all.txt

* Update requirements_test_all.txt
  • Loading branch information
helto4real authored and balloob committed Oct 26, 2018
1 parent bc67115 commit c4b2c2b
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/smhi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from .config_flow import smhi_locations # noqa: F401
from .const import DOMAIN # noqa: F401

REQUIREMENTS = ['smhi-pkg==1.0.4']
REQUIREMENTS = ['smhi-pkg==1.0.5']

DEFAULT_NAME = 'smhi'

Expand Down
2 changes: 0 additions & 2 deletions homeassistant/components/smhi/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@

from .const import DOMAIN, HOME_LOCATION_NAME

REQUIREMENTS = ['smhi-pkg==1.0.4']


@callback
def smhi_locations(hass: HomeAssistant):
Expand Down
1 change: 0 additions & 1 deletion homeassistant/components/weather/smhi.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
ENTITY_ID_SENSOR_FORMAT, ATTR_SMHI_CLOUDINESS)

DEPENDENCIES = ['smhi']
REQUIREMENTS = ['smhi-pkg==1.0.4']

_LOGGER = logging.getLogger(__name__)

Expand Down
4 changes: 1 addition & 3 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1378,9 +1378,7 @@ smappy==0.2.16
# smbus-cffi==0.5.1

# homeassistant.components.smhi
# homeassistant.components.smhi.config_flow
# homeassistant.components.weather.smhi
smhi-pkg==1.0.4
smhi-pkg==1.0.5

# homeassistant.components.media_player.snapcast
snapcast==2.0.9
Expand Down
4 changes: 1 addition & 3 deletions requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,7 @@ simplisafe-python==3.1.12
sleepyq==0.6

# homeassistant.components.smhi
# homeassistant.components.smhi.config_flow
# homeassistant.components.weather.smhi
smhi-pkg==1.0.4
smhi-pkg==1.0.5

# homeassistant.components.climate.honeywell
somecomfort==0.5.2
Expand Down

0 comments on commit c4b2c2b

Please sign in to comment.