Added a digit for precipitation (#21439)
This commit is contained in:
parent
28f9c7c2cd
commit
33c9afd6e0
4 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,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.8']
|
||||
REQUIREMENTS = ['smhi-pkg==1.0.10']
|
||||
|
||||
DEFAULT_NAME = 'smhi'
|
||||
|
||||
|
|
|
@ -218,7 +218,7 @@ class SmhiWeather(WeatherEntity):
|
|||
ATTR_FORECAST_TEMP: forecast.temperature_max,
|
||||
ATTR_FORECAST_TEMP_LOW: forecast.temperature_min,
|
||||
ATTR_FORECAST_PRECIPITATION:
|
||||
round(forecast.total_precipitation),
|
||||
round(forecast.total_precipitation, 1),
|
||||
ATTR_FORECAST_CONDITION: condition,
|
||||
})
|
||||
|
||||
|
|
|
@ -1588,7 +1588,7 @@ smappy==0.2.16
|
|||
# smbus-cffi==0.5.1
|
||||
|
||||
# homeassistant.components.smhi
|
||||
smhi-pkg==1.0.8
|
||||
smhi-pkg==1.0.10
|
||||
|
||||
# homeassistant.components.media_player.snapcast
|
||||
snapcast==2.0.9
|
||||
|
|
|
@ -275,7 +275,7 @@ simplisafe-python==3.1.14
|
|||
sleepyq==0.6
|
||||
|
||||
# homeassistant.components.smhi
|
||||
smhi-pkg==1.0.8
|
||||
smhi-pkg==1.0.10
|
||||
|
||||
# homeassistant.components.climate.honeywell
|
||||
somecomfort==0.5.2
|
||||
|
|
Loading…
Add table
Reference in a new issue