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
..
2021-06-14 09:01:18 -07:00
2021-06-15 00:05:40 +02:00
2021-06-11 20:55:08 +02:00
2021-06-12 13:14:35 +02:00
2021-05-31 15:32:03 -07:00
2021-06-01 22:34:31 +02:00
2021-06-11 13:35:03 +02:00
2021-05-29 14:09:13 +02:00
2021-05-31 15:32:03 -07:00
2021-05-28 21:18:59 -05:00