core/tests
Unai 0706ae70dc
Simplify maxcube integration (#48403)
* Simplify maxcube integration

Device objects returned by maxcube-api dependency are stable, so
we do not need to resolve from the device address every time.

Also, refactor and unify how maxcube integration sets temperature & mode.

* Raise ValueError if missing parameters for set_temperature method

Raise a ValueError exception If set_temperature does not receive
a temperature parameter.

Also, document properly _set_target method.

* Use Type | None instead of Optional[Type] annotation

* Protect set_hvac_mode and set_preset_mode from unsupported parameters
2021-03-28 00:21:20 +01:00
..
auth Merge multiple context managers in tests (#48146) 2021-03-27 09:17:15 +01:00
components Simplify maxcube integration (#48403) 2021-03-28 00:21:20 +01:00
fixtures Add support for selective config parameter entity discovery (#48336) 2021-03-27 18:14:06 +01:00
hassfest Throw error in hassfest when integration is missing version (#45976) 2021-02-04 13:31:17 +01:00
helpers Merge multiple context managers in tests (#48146) 2021-03-27 09:17:15 +01:00
mock Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
resources
scripts Cleanup unused loggers (#46510) 2021-02-14 13:46:58 +01:00
test_util SSDP response decode: replace invalid utf-8 characters (#42681) 2021-01-31 17:59:14 +01:00
testing_config Add support for light color modes (#47720) 2021-03-16 12:51:39 +01:00
util Merge multiple context managers in tests (#48146) 2021-03-27 09:17:15 +01:00
__init__.py
bandit.yaml Enable more Bandit tests (#44307) 2020-12-19 12:35:13 +01:00
common.py Index config entries by id (#48199) 2021-03-21 21:44:29 -07:00
conftest.py Wait for registries to load at startup (#46265) 2021-02-11 17:36:19 +01:00
ignore_uncaught_exceptions.py
test_bootstrap.py Wait for registries to load at startup (#46265) 2021-02-11 17:36:19 +01:00
test_config.py Ensure HomeAssistant can still restart when a library file is missing (#46664) 2021-02-19 22:22:48 -08:00
test_config_entries.py Merge multiple context managers in tests (#48146) 2021-03-27 09:17:15 +01:00
test_core.py Add support for pre-filtering events to the event bus (#46371) 2021-02-14 09:42:55 -10:00
test_data_entry_flow.py
test_exceptions.py Refine printing of ConditionError (#46838) 2021-02-21 14:54:36 +01:00
test_loader.py Add warning to custom integrations without version (#45919) 2021-02-04 09:59:41 +01:00
test_main.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_requirements.py Merge multiple context managers in tests (#48146) 2021-03-27 09:17:15 +01:00
test_setup.py Convert discovery helper to use dispatcher (#47008) 2021-02-24 13:37:31 -08:00