Kevin Stillhammer
173f4760bc
Deprecate weather.get_forecast ( #102534 )
...
* Deprecate weather.get_forecast
* Rename forecast to get_forecasts
* raise issue for use of deprecated service
* Add fix_flow
* Add service translation/yaml
2023-11-19 20:44:02 +01:00
Diogo Morgado
4066f657d3
Add "UV Index" to IPMA ( #100383 )
...
* Bump pyipma to 3.0.7
* Add uv index sensor to IPMA
2023-09-27 17:45:21 +02:00
Joost Lekkerkerker
a2b0149677
Remove config name from IPMA config flow ( #98576 )
2023-08-23 11:35:04 +02:00
Ville Skyttä
2399cd283a
Python 3.10 support cleanups ( #98640 )
2023-08-21 19:14:07 +02:00
Diogo Gomes
abf065ed76
Fix checks for duplicated config entries in IPMA ( #98319 )
...
* fix unique_id
* old unique id detection
* update tests
* match entry not unique_id
* address review
2023-08-16 12:56:47 +02:00
Erik Montnemery
ae8f9dcb77
Modernize ipma weather ( #98062 )
...
* Modernize ipma weather
* Add test snapshots
* Don't include forecast mode in weather entity unique_id for new config entries
* Remove old migration code
* Remove outdated test
2023-08-12 15:15:09 +02:00
Diogo Gomes
96bf8ef8d6
Add Risk of Fire sensor to IPMA ( #80295 )
2023-06-27 16:00:10 +02:00
J. Nick Koston
99b58f157e
Bump PyJWT to 2.6.0 ( #90134 )
...
* Bump PyJWT to 2.6.0
* fix time being frozen too late which makes the access token creation time in the future
* revert zha change
* fix repairs test
* fix ical test
2023-03-22 20:00:47 -04:00
epenet
37a2040d7b
Add type hints to integration tests (h-i) ( #87703 )
2023-02-08 18:12:56 +01:00
epenet
aa00114c2f
Add return type to async tests without arguments ( #87612 )
2023-02-07 10:26:56 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Diogo Gomes
180b296426
IPMA Code quality improvement ( #77771 )
...
* merge upstream/dev
* remove comment
* coverage increase
* merge upstream/dev
* refactor
* wait for another PR
* remove left overs
* wait for next PR
* only remove on successful unload
Co-authored-by: Shay Levy <levyshay1@gmail.com>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-10-14 00:18:57 +03:00
Diogo Gomes
831c87205f
Retry on unavailable IPMA api ( #78332 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-09-13 21:00:59 -04:00
Diogo Gomes
1fe5948afd
Cleanup IPMA code ( #77674 )
...
revert yaml import
2022-09-01 23:15:42 +02:00
Diogo Gomes
f98e86d3a6
Bump pyipma to 3.0.2 ( #76332 )
...
* upgrade to pyipma 3.0.0
* bump to support python3.9
* remove deprecated async_setup_platform
* full coverage
* add migrate
2022-08-31 07:00:42 -04:00
G Johansson
90e1fb6ce2
Weather unit conversion ( #73441 )
...
Co-authored-by: Erik <erik@montnemery.com>
2022-06-23 10:48:30 +02:00
Erik Montnemery
84226da404
Update tests i-o to use async_get() instead of async_get_registry() ( #47653 )
2021-03-09 14:32:08 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Diogo Gomes
3e24868a9e
Add system health check to IPMA ( #43762 )
2020-11-30 16:24:18 +01:00
Diogo Gomes
1f850f6374
Enable co-existence of two IPMA weather entities for the same location ( #40354 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-21 23:41:06 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Diogo Gomes
39843319e2
Update IPMA weather component ( #38697 )
...
* long overdue mismatch
* missing updated tests
2020-08-10 21:55:44 -05:00
Paulus Schoutsen
276f3afb00
Do async_setup_platform in background ( #36244 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-31 22:18:30 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Paulus Schoutsen
0d700f6a63
Fix tests for Python 3.8 ( #34672 )
2020-04-25 14:32:55 -07:00
Abílio Costa
e6148d223a
Allow hourly forecast in IPMA ( #30979 )
...
* update ipma component for pyipma 2.0
* fix wind speed; refactor forecast
* update requirements*.txt
* fix tests; update CODEOWNERS; update pyipma to 2.0.1
* minor changes as suggested in PR
* make lint happy
* fix mocking coroutines
* restore old unique id
* fix station lat/lon; update pyipma version
* add hourly forecast option to IPMA
* add forecast tests
* use for instead of lambda
2020-02-14 12:04:41 -05:00
Abílio Costa
2aff913d9b
Update pyipma to 2.0 ( #30746 )
...
* update ipma component for pyipma 2.0
* fix wind speed; refactor forecast
* update requirements*.txt
* fix tests; update CODEOWNERS; update pyipma to 2.0.1
* minor changes as suggested in PR
* make lint happy
* fix mocking coroutines
* restore old unique id
* fix station lat/lon; update pyipma version
2020-01-21 17:04:22 +01:00
Bas Nijholt
14779ce3d0
Sort imports according to PEP8 for components starting with "I" ( #29769 )
2019-12-09 14:21:24 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Diogo Gomes
55d1d3d8ae
Move weather.ipma into a component ( #20706 )
...
* initial version
* works
* lint
* move
* hound
* fix formatting
* update
* add extra features
* houmd
* docstring
* fix tests
* lint
* update requirements_all.txt
* new tests
* lint
* update CODEOWNERS
* MockDependency pyipma
* hound
* bump pyipma version
* add config_flow tests
* lint
* improve test coverage
* fix test
* address comments by @MartinHjelmare
* remove device_info
* hound
* stale comment
* Add deprecation warning
* address comments
* lint
2019-02-08 10:55:58 +01:00