core/tests
starkillerOG 3a2d50fe23
Add Xiaomi Miio EU gateway support (#47955)
* Add EU gateway support

* add options flow translations

* fix options flow

* fix missing import

* try to fix async_add_executor_job

* try to fix async_add_executor_job

* fix unload

* check for login succes

* fix not reloading

* use cloud option

* fix styling

* Return after if

Co-authored-by: Nathan Tilley <nathan@tilley.xyz>

* cleanup

* add options flow tests

* fix new tests

* fix typo in docstring

* add missing blank line

* Use async_on_unload

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use async_on_unload

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use async_setup_platforms

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use async_unload_platforms

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/xiaomi_miio/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/xiaomi_miio/const.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* default use_cloud False

* add options flow checks

* fix styling

* fix issort

* add MiCloud check tests

* fix indent

* fix styling

* fix tests

* fix tests

* fix black

* re-write config flow

* add explicit return type

* update strings.json

* black formatting

* fix config flow

Tested the config flow and it is now fully working

* fix styling

* Fix current tests

* Add missing tests

* fix styling

* add re-auth flow

* fix styling

* fix reauth flow

* Add reauth flow test

* use ConfigEntryAuthFailed

* also trigger reauth @ login error

* fix styling

* remove unused import

* fix spelling

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Fix spelling

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* fix spelling

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* remove unessesary .keys()

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* combine async_add_executor_job calls

* remove async_step_model

* fix wrong indent

* fix gatway.py

* fix tests

Co-authored-by: Nathan Tilley <nathan@tilley.xyz>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-15 00:05:40 +02:00
..
auth Migrate the name for the hassio user (#51771) 2021-06-14 09:01:18 -07:00
components Add Xiaomi Miio EU gateway support (#47955) 2021-06-15 00:05:40 +02:00
fixtures WLED WebSocket support - local push updates (#51683) 2021-06-11 20:55:08 +02:00
hassfest Block custom integrations with missing or invalid version (#49916) 2021-05-17 15:48:41 +02:00
helpers Add timedelta option for async_call_later (#50164) 2021-06-12 13:14:35 +02:00
mock Disable strict type checks for tests (#49851) 2021-04-29 15:57:02 +02:00
resources
scripts Cleanup unused loggers (#46510) 2021-02-14 13:46:58 +01:00
test_util Detach aiohttp.ClientSession created by config entry setup on unload (#48908) 2021-04-09 10:14:33 -07:00
testing_config Move version validation to resolver (#51311) 2021-05-31 15:32:03 -07:00
util Use whoami for location lookup (#50934) 2021-05-22 20:34:48 -07:00
__init__.py
bandit.yaml
common.py Merge system options into pref properties (#51347) 2021-06-01 22:34:31 +02:00
conftest.py Compile statistics for energy sensors (#50829) 2021-05-20 13:05:15 +02:00
ignore_uncaught_exceptions.py
test_bootstrap.py Avoid sending empty integration list multiple times during subscribe_bootstrap_integrations (#49181) 2021-04-15 23:16:17 -07:00
test_config.py Remove stale debug statements from tests (#51059) 2021-05-25 11:52:20 +02:00
test_config_entries.py Spelling fixes (#51642) 2021-06-11 13:35:03 +02:00
test_core.py Define sync hass.create_task function (#50788) 2021-05-17 14:54:06 -05:00
test_data_entry_flow.py Use flow result type constants more (#51122) 2021-05-29 14:09:13 +02:00
test_exceptions.py Remove stale debug statements from tests (#51059) 2021-05-25 11:52:20 +02:00
test_loader.py Move version validation to resolver (#51311) 2021-05-31 15:32:03 -07:00
test_main.py
test_requirements.py Add network and callback support to SSDP (#51019) 2021-05-28 21:18:59 -05:00
test_runner.py Ensure shutdown does not deadlock (#49282) 2021-04-18 08:55:51 -10:00
test_setup.py Replace http startup logic with async_when_setup_or_start (#48784) 2021-04-13 14:10:58 -07:00