Erik Montnemery
3e62c6ae2f
Move core config functionality to its own module ( #129065 )
...
* Move core config functionality to its own module
* Adjust test
2024-10-24 13:34:51 +02:00
epenet
b54a68750b
Add type hints for FixtureRequest in tests ( #118779 )
2024-06-04 10:37:54 +02:00
Joost Lekkerkerker
b9281327c4
Use FlowResultType enum in config flow tests A-M ( #114681 )
2024-04-03 09:21:17 +02:00
Marc Mueller
1722e23df8
Add empty line after module docstring [tests l-p] ( #112710 )
2024-03-08 14:55:15 +01:00
Jan-Philipp Benecke
5901f6f7e7
Move met coordinator to own module ( #103546 )
2023-11-08 16:55:09 +01:00
Chris Xiao
93c681ae58
Add options flow for met ( #88525 )
...
* implement options flow for met
* add tests for met options flow
* fix met options flow tests
* fix met options flow when tracking home
2023-02-22 10:18:58 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
6c430e03bc
Add type hints to integration tests (part 14) ( #88005 )
2023-02-15 10:31:43 +01:00
epenet
f75ac17554
Add type hints to integration tests (j-m) ( #87704 )
2023-02-08 19:06:59 +01:00
Franck Nijhof
af6953157f
Remove deprecated YAML configuration from Met.no ( #69027 )
2022-03-31 13:08:51 -07:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
Franck Nijhof
6ec8e17e7b
Do not activate Met.no without setting a Home coordinates ( #48741 )
2021-04-07 09:39:39 +02:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Daniel Hjelseth Høyer
4a1173c3de
Update met config string ( #41048 )
...
* update config string met
* typo
* config strings
2020-10-03 15:18:05 +02:00
Vaclav
b258e757c2
Add DataUpdateCoordinator to met integration ( #38405 )
...
* Add DataUpdateCoordinator to met integration
* isort
* redundant fetch_data
* Update homeassistant/components/met/weather.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/weather.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/weather.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/weather.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/met/weather.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* fix black, isort, flake8, hassfest, mypy
* remove unused async_setup method
* replace fetch_data by coordinator request_refresh
* remove redundant async_update
* track_home
* Apply suggestions from code review
* Apply suggestions from code review
* Update homeassistant/components/met/__init__.py
* Apply suggestions from code review
* Update homeassistant/components/met/__init__.py
* Apply suggestions from code review
* Update homeassistant/components/met/__init__.py
* Apply suggestions from code review
* Update test_config_flow.py
* Apply suggestions from code review
* Apply suggestions from code review
* Update __init__.py
* Create test_init.py
* Update homeassistant/components/met/__init__.py
* Update __init__.py
* Update __init__.py
* Update homeassistant/components/met/__init__.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-09 13:18:02 -05:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Paulus Schoutsen
d4615fd432
Freeze config entry data ( #32615 )
...
* Freeze config entry data
* Fix mutating entry.data
* Fix config entry options tests
2020-03-09 14:07:50 -07:00
Martin Hjelmare
91f738127d
Make met config flow tests robust ( #30689 )
...
* Make met config flow tests more robust
* Fix test with default form values
* Remove not needed test
* Clean create entry test
* Clean double test
* Clean last tests
* Fix docstring
2020-01-11 20:00:02 -08:00
Bas Nijholt
642655b6d7
Sort imports according to PEP8 for met ( #29699 )
2019-12-09 11:43:00 +01:00
Daniel Høyer Iversen
b9923ca109
Met, check for existing location ( #26400 )
2019-09-03 23:13:17 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
f2962a0d16
Set up Met during onboarding ( #24622 )
...
* Set up Met during onboarding
* Lint
* Add pyMetNo to test reqs
2019-06-19 14:41:27 -07:00
Aaron Bach
a89c8eeabe
Add config entry for Met.no ( #24608 )
...
* Add config entry for Met.no
* Fixed tests
2019-06-18 17:44:41 -06:00