* Deprecate weather.get_forecast
* Rename forecast to get_forecasts
* raise issue for use of deprecated service
* Add fix_flow
* Add service translation/yaml
* Added some extra attributes
Added the extra attributes
wind_gust_speed and
thunder_probability
that were already implemented in the underlaying library (joysoftware
/
pypi_smhi).
Also for the existing extra attribute cloudiness, it is added if "is not None" instead of just "if self.cloudiness" which would make it False (and therefore not available) if cloudiness = 0.
* Trying to solve the style issues
Removed white spaces and changed order of list as suggested by the tests.
* New try to solve the style issues
Removed some more white spaces...
* Changed dictionary handling as suggested
Changed dictionary handling as suggested by MartinHjelmare.
* Updated test
Updated test_weather.py to include the new attributes wind_gust_speed and thunder_probability.
* Added missing imports
Added the missing imports
ATTR_SMHI_THUNDER_PROBABILITY,
ATTR_SMHI_WIND_GUST_SPEED,
* Renaming self.thunder to self.thunder_probability and correcting test valuesfor
Renamed the new internal attribute
thunder to thunder_probability, same as the exposed attribute for improved consistency.
Corrected test values according to smhi.json.
* Forgot to change to self.thunder_probability in one place.
sorry.
* SMHI Component
* Clean up typos
* Fixed default values first config to home location (tests will follow)
* Fixed tests and removed unused function
* Minor fixup after comments from @kane610
* add support for precipitation in forecast
* Removed old async_step_init not needed.