SMHI weather component not showing correct values in current forecast (#17783)

* fixes not showing current forecast correctly

* Update config_flow.py

* Update smhi.py

* Update requirements_all.txt

* Update requirements_test_all.txt
This commit is contained in:
Tomas Hellström
2018-10-25 10:16:09 +02:00
committed by Paulus Schoutsen
parent bc67115df3
commit c4b2c2bfcf
5 changed files with 3 additions and 10 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ from homeassistant.core import Config, HomeAssistant
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'
@@ -20,8 +20,6 @@ from homeassistant.util import slugify
from .const import DOMAIN, HOME_LOCATION_NAME
REQUIREMENTS = ['smhi-pkg==1.0.4']
@callback
def smhi_locations(hass: HomeAssistant):
-1
View File
@@ -30,7 +30,6 @@ from homeassistant.components.smhi.const import (
ENTITY_ID_SENSOR_FORMAT, ATTR_SMHI_CLOUDINESS)
DEPENDENCIES = ['smhi']
REQUIREMENTS = ['smhi-pkg==1.0.4']
_LOGGER = logging.getLogger(__name__)
+1 -3
View File
@@ -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
+1 -3
View File
@@ -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