Added component named switcher_kis switcher water heater integration. (#22325)
* Added component named switcher_kis switcher water heater integration. * Fixed conflicts. * Updated requirements. * Added manifest.json file and updated CODEOWNERS. * Fixed requirements_all.txt. * Better component tests. * Removed unnecessary parameter from fixture function. * Removed tests section from mypy.ini. * Remove unused ENTITY_ID_FORMAT. * Stop udp bridge when failed to setup the component. * Replace DISCOVERY_ constants prefix with DATA_. * Various change requests. * Fixed constant name change remifications. * Added explicit name to fixture. * Various change requests. * More various change requests. * Added EventType for homeassistant.core.Event. * Switched from event driven data distribution to dispatcher type plus clean-ups. * Removed name and icon keys from the component configuration. * Various change requests. * Various change reqeusts and clean-ups. * Removed unnecessary DEPENDENCIES constant from swith platform. * Replaced configuration data guard with assert. * Removed unused constants. * Removed confusing type casting for mypy sake. * Refactor property device_name to name. * Removed None guard effecting mypy only. * Removed unnecessary function from switch entity. * Removed None guard in use by mypy only. * Removed unused constant. * Removed unnecessary context manager. * Stopped messing around with mypy.ini. * Referring to typing.TYPE_CHECKING for non-runtime imports. * Added test requierment correctyly. * Replaced queue.get() with queue.get_nowait() to avoid backing up intervals requests. * Revert changes in mypy.ini. * Changed attributes content to device properties instead of entity properties. * Fixed typo in constant name. * Remove unnecessary async keyword from callable. * Waiting for tasks on event loop to end. * Added callback decorator to callable.
Showing
- .coveragerc 1 addition, 0 deletions.coveragerc
- CODEOWNERS 1 addition, 0 deletionsCODEOWNERS
- homeassistant/components/switcher_kis/__init__.py 93 additions, 0 deletionshomeassistant/components/switcher_kis/__init__.py
- homeassistant/components/switcher_kis/manifest.json 12 additions, 0 deletionshomeassistant/components/switcher_kis/manifest.json
- homeassistant/components/switcher_kis/switch.py 142 additions, 0 deletionshomeassistant/components/switcher_kis/switch.py
- homeassistant/helpers/typing.py 1 addition, 0 deletionshomeassistant/helpers/typing.py
- requirements_all.txt 3 additions, 0 deletionsrequirements_all.txt
- requirements_test_all.txt 3 additions, 0 deletionsrequirements_test_all.txt
- script/gen_requirements_all.py 1 addition, 0 deletionsscript/gen_requirements_all.py
- tests/components/switcher_kis/__init__.py 1 addition, 0 deletionstests/components/switcher_kis/__init__.py
- tests/components/switcher_kis/conftest.py 110 additions, 0 deletionstests/components/switcher_kis/conftest.py
- tests/components/switcher_kis/consts.py 26 additions, 0 deletionstests/components/switcher_kis/consts.py
- tests/components/switcher_kis/test_init.py 49 additions, 0 deletionstests/components/switcher_kis/test_init.py
Loading
Please register or sign in to comment