core/homeassistant
Ville Skyttä fc09702cc3
Modernize Huawei LTE (#26675)
* Modernization rework

- config entry support, with override support from huawei_lte platform in YAML
- device tracker entity registry support
- refactor for easier addition of more features
- internal code cleanups

* Remove log level dependent subscription/data debug hack

No longer needed, because pretty much all keys from supported
categories are exposed as sensors.

Closes https://github.com/home-assistant/home-assistant/issues/23819

* Upgrade huawei-lte-api to 1.4.1

https://github.com/Salamek/huawei-lte-api/releases

* Add support for access without username and password

* Use subclass init instead of config_entries.HANDLERS

* Update huawei-lte-api to 1.4.3 (#27269)

* Convert device state attributes to snake_case

* Simplify scanner entity initialization

* Remove not needed hass reference from Router

* Return explicit None from unsupported old device tracker setup

* Mark unknown connection errors during config as such

* Drop some dead config flow code

* Run config flow sync I/O in executor

* Parametrize config flow login error tests

* Forward entry unload to platforms

* Async/sync fixups

* Improve data subscription debug logging

* Implement on the fly add of new and tracking of seen device tracker entities

* Handle device tracker entry unload cleanup in component

* Remove unnecessary _async_setup_lte, just have code in async_setup_entry

* Remove time tracker on unload

* Fix to not use same mutable default subscription set for all routers

* Pylint fixes

* Remove some redundant defensive device tracker code

* Add back explicit get_scanner None return, hush pylint

* Adjust approach to set system_options on entry create

* Enable some sensors on first add instead of disabling everything

* Fix SMS notification recipients default value

* Add option to skip new device tracker entities

* Fix SMS notification recipient option default

* Work around https://github.com/PyCQA/pylint/issues/3202

* Remove unrelated type hint additions

* Change async_add_new_entities to a regular function

* Remove option to disable polling for new device tracker entries
2019-10-24 19:31:49 +03:00
..
auth Upgrade mypy to 0.740 (#27913) 2019-10-19 11:35:57 -07:00
components Modernize Huawei LTE (#26675) 2019-10-24 19:31:49 +03:00
generated Modernize Huawei LTE (#26675) 2019-10-24 19:31:49 +03:00
helpers Add template filters to convert objects to and from JSON strings (#27909) 2019-10-22 22:51:29 -07:00
scripts Bump keyring to 19.2.0 (#27899) 2019-10-18 20:09:41 -05:00
util Upgrade mypy to 0.740 (#27913) 2019-10-19 11:35:57 -07:00
__init__.py
__main__.py
bootstrap.py Introduce new OAuth2 config flow helper (#27727) 2019-10-18 13:06:33 -07:00
config.py Fix config imports (#27669) 2019-10-15 16:15:26 -07:00
config_entries.py Upgrade mypy to 0.740 (#27913) 2019-10-19 11:35:57 -07:00
const.py Version bump to 102.0.dev0" 2019-10-23 13:38:35 -07:00
core.py Introduce new OAuth2 config flow helper (#27727) 2019-10-18 13:06:33 -07:00
data_entry_flow.py Introduce new OAuth2 config flow helper (#27727) 2019-10-18 13:06:33 -07:00
exceptions.py
loader.py
monkey_patch.py
package_constraints.txt Updated frontend to 20191023.0 (#28150) 2019-10-23 13:22:07 -07:00
requirements.py
setup.py Cleanup coroutine threadsafe (#27080) 2019-10-01 16:59:06 +02:00