Commit Graph

13 Commits (87049283c17ee0995afc1b3d6e4e5e25cceb9715)

Author SHA1 Message Date
Maciej Bieniek 32be5576dc
Get wind speed unit from AccuWeather data (#65425) 2022-02-02 17:07:12 -08:00
Matt 3d5432b799
Add configuration_url to AccuWeather integration (#60381) 2021-11-26 11:15:03 +01:00
Ville Skyttä 053c456199
Change device entry type to an StrEnum (#59940)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-22 18:14:15 +01:00
epenet c47ac1d9d6
Use DeviceInfo on accuweather (#58394)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-25 12:38:38 +02:00
Robert Hillis 5367a036d2
Use entity class attributes for accuweather (#52431) 2021-07-05 11:36:04 +02:00
Maciej Bieniek 2aed268fb7
Remove `undo_listener` variable in AccuWeather integration (#52032) 2021-06-20 21:40:04 -07:00
Franck Nijhof 3b00e87ebc
Define WeatherEntity entity attributes as class variables (#51899) 2021-06-17 10:16:16 +02:00
Maciej Bieniek ccd8e1332c
Address late review comments for AccuWeather integration (#50866)
* Remove unnecessary converting datetime to str

* Address late comments
2021-05-20 09:29:10 +02:00
Maciej Bieniek bce5f8ee05
Improve AccuWeather type annotations (#50616)
* Improve type annotations

* Remove unused argument

* Simplify state logic

* Fix uvindex state

* Fix type for logger

* Increase tests coverage

* Fix pylint arguments-differ error

* Suggested change

* Suggested change

* Remove unnecessary variable

* Remove unnecessary conditions

* Use int instead of list for forecast days

* Add enabled to sensor types dicts

* Fix request_remaining conversion and tests

* Run hassfest

* Suggested change

* Suggested change

* Do not use StateType
2021-05-19 09:37:16 +01:00
springstan 1e97ca14f1
Update accuweather to fully use CoordinatorEntity (#39431) 2020-08-30 10:38:26 -05:00
Maciej Bieniek 56f8ced267
Add device_info property for AccuWeather integration (#38480) 2020-08-05 12:50:34 +02:00
Maciej Bieniek 2b0914994d
Add changes from comments after merging AccuWeather (#38227)
* Fix documentation url

* Return None instead STATE_UNKNOWN

* Invert forecast check

* Patch async_setup_entry in test_create entry

* Improve test name, docstring and add comment
2020-07-26 20:00:47 -05:00
Maciej Bieniek 581c4a4edd
Add AccuWeather integration (#37166)
* Initial commit

* Fix strings

* Fix unit system

* Add config_flow tests

* Simplify tests

* More tests

* Update comment

* Fix pylint error

* Run gen_requirements_all

* Fix pyline error

* Round precipitation and precipitation probability

* Bump backend library

* Bump backend library

* Add undo update listener on unload

* Add translation key for invalid_api_key

* Remove entity_registry_enabled_default property

* Suggested change

* Bump library
2020-07-24 15:59:15 -05:00