epenet
2545694d41
Add type hints to integration tests (a) ( #87684 )
...
* Add type hints to accuweather tests
* Adjust a** components
* Adjust aiohttp_client
* ClientSessionGenerator/WebSocketGenerator
2023-02-08 12:16:23 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
epenet
6e2803a6d8
Use SchemaOptionsFlowHandler in Accuweather ( #82627 )
...
Use SchemaOptionsFlowHandler in accuweather
2022-11-24 20:08:14 +01:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03: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
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
J. Nick Koston
6822190772
Fix unmocked https in the test suite ( #42316 )
2020-10-25 07:16:23 -05:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +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