Add new integration to control Electra Smart HVAC devices (#70361)
* Added new integration to support Electra Smart (HVAC) * fixes + option to set scan interval * renamed the module to electrasmart and added unittests * added non tested files to .coveragerc * changed the usage from UpdateCoordinator to each entity updates it self * small fixes * increased pypi package version, increased polling timeout to 60 seconds, improved error handling * PARALLEL_UPDATE=1 to prevent multi access to the API * code improvements * aligned with the new HA APIs * fixes * fixes * more * fixes * more * more * handled re-atuh flow * fixed test * removed hvac action * added shabat mode * tests: 100% coverage * ran hassfest * Update homeassistant/components/electrasmart/manifest.json Co-authored-by: Shay Levy <levyshay1@gmail.com> * Update homeassistant/components/electrasmart/manifest.json Co-authored-by: Shay Levy <levyshay1@gmail.com> * Update homeassistant/components/electrasmart/manifest.json Co-authored-by: Shay Levy <levyshay1@gmail.com> * Update homeassistant/components/electrasmart/climate.py Co-authored-by: Shay Levy <levyshay1@gmail.com> * address Shay's comments * address Shay's comments * address more comments --------- Co-authored-by: Shay Levy <levyshay1@gmail.com>
This commit is contained in:
10
mypy.ini
10
mypy.ini
@@ -812,6 +812,16 @@ disallow_untyped_defs = true
|
||||
warn_return_any = true
|
||||
warn_unreachable = true
|
||||
|
||||
[mypy-homeassistant.components.electrasmart.*]
|
||||
check_untyped_defs = true
|
||||
disallow_incomplete_defs = true
|
||||
disallow_subclassing_any = true
|
||||
disallow_untyped_calls = true
|
||||
disallow_untyped_decorators = true
|
||||
disallow_untyped_defs = true
|
||||
warn_return_any = true
|
||||
warn_unreachable = true
|
||||
|
||||
[mypy-homeassistant.components.elgato.*]
|
||||
check_untyped_defs = true
|
||||
disallow_incomplete_defs = true
|
||||
|
||||
Reference in New Issue
Block a user