core/tests
danielsmyers fa61ad072d
Add Bryant Evolution Integration (#119788)
* Add an integration for Bryant Evolution HVAC systems.

* Update newly created tests so that they pass.

* Improve compliance with home assistant guidelines.

* Added tests

* remove xxx

* Minor test cleanups

* Add a test for reading HVAC actions.

* Update homeassistant/components/bryant_evolution/__init__.py

Co-authored-by: Josef Zweck <24647999+zweckj@users.noreply.github.com>

* Update homeassistant/components/bryant_evolution/climate.py

Co-authored-by: Josef Zweck <24647999+zweckj@users.noreply.github.com>

* Update homeassistant/components/bryant_evolution/climate.py

Co-authored-by: Josef Zweck <24647999+zweckj@users.noreply.github.com>

* Update homeassistant/components/bryant_evolution/climate.py

Co-authored-by: Josef Zweck <24647999+zweckj@users.noreply.github.com>

* Update homeassistant/components/bryant_evolution/climate.py

Co-authored-by: Josef Zweck <24647999+zweckj@users.noreply.github.com>

* Update homeassistant/components/bryant_evolution/climate.py

Co-authored-by: Josef Zweck <24647999+zweckj@users.noreply.github.com>

* Update homeassistant/components/bryant_evolution/config_flow.py

Co-authored-by: Josef Zweck <24647999+zweckj@users.noreply.github.com>

* Address reviewer comments.

* Address additional reviewer comments.

* Use translation for exception error messages.

* Simplify config flow.

* Continue addressing comments

* Use mocking rather than DI to provide a for-test client in tests.

* Fix a failure in test_config_flow.py

* Track host->filename in strings.json.

* Use config entry ID for climate entity unique id

* Guard against fan mode returning None in async_update.

* Move unavailable-client check from climate.py to init.py.

* Improve test coverage

* Bump evolutionhttp version

* Address comments

* update comment

* only have one _can_reach_device fn

* Auto-detect which systems and zones are attached.

* Add support for reconfiguration

* Fix a few review comments

* Introduce multiple devices

* Track evolutionhttp library change that returns additional per-zone information during enumeration

* Move construction of devices to init

* Avoid triplicate writing

* rework tests to use mocks

* Correct attribute name to unbreak test

* Pull magic tuple of system-zone into a constant

* Address some test comments

* Create test_init.py

* simplify test_reconfigure

* Replace disable_auto_entity_update with mocks.

* Update tests/components/bryant_evolution/test_climate.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/bryant_evolution/test_climate.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/bryant_evolution/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update homeassistant/components/bryant_evolution/config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/bryant_evolution/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Update tests/components/bryant_evolution/test_config_flow.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* fix test errors

* do not access runtime_data in tests

* use snapshot_platform and type fixtures

---------

Co-authored-by: Josef Zweck <24647999+zweckj@users.noreply.github.com>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-07-29 11:25:04 +02:00
..
auth Update import locations in tests (#122216) 2024-07-20 11:16:04 +02:00
components Add Bryant Evolution Integration (#119788) 2024-07-29 11:25:04 +02:00
fixtures
hassfest
helpers Remigrate device_registry created_at/modified_at (#122490) 2024-07-23 15:47:27 -05:00
non_packaged_scripts
pylint
resources
script
scripts Import Generator from collections.abc (1) (#120914) 2024-07-01 11:51:51 +02:00
snapshots
test_util Improve contextmanager typing (#122250) 2024-07-20 14:09:37 +02:00
testing_config
util Fix bug in timeout util related to multiple global freezes (#122466) 2024-07-29 10:12:18 +02:00
__init__.py
common.py Remove loop shutdown indicator when done with test hass (#122432) 2024-07-23 00:56:06 +02:00
conftest.py Fail tests if recorder creates nested sessions (#122579) 2024-07-25 21:18:55 +02:00
ignore_uncaught_exceptions.py
patch_recorder.py Fail tests if recorder creates nested sessions (#122579) 2024-07-25 21:18:55 +02:00
patch_time.py Improve tests/patch_time.py (#122017) 2024-07-16 14:22:22 +02:00
ruff.toml
syrupy.py Add created_at/modified_at to entity registry (#122444) 2024-07-23 13:12:29 +02:00
test_backports.py
test_block_async_io.py Enable ruff asyncio event loop blocking detection rules (#120799) 2024-07-04 04:17:57 -05:00
test_bootstrap.py Split recorder and frontend bootstrap steps (#122420) 2024-07-22 23:07:49 +02:00
test_circular_imports.py
test_config.py Update import locations in tests (#122216) 2024-07-20 11:16:04 +02:00
test_config_entries.py Import Generator from collections.abc (1) (#120914) 2024-07-01 11:51:51 +02:00
test_const.py Fix missing type[..] annotation in tests (#122217) 2024-07-20 11:11:16 +02:00
test_core.py Update import locations in tests (#122216) 2024-07-20 11:16:04 +02:00
test_data_entry_flow.py
test_exceptions.py
test_loader.py
test_main.py
test_requirements.py Remove recorder from websocket_api after dependencies (#122422) 2024-07-22 16:50:05 -05:00
test_runner.py Update import locations in tests (#122216) 2024-07-20 11:16:04 +02:00
test_setup.py Add repair issue when trying to set up unknown integration (#121089) 2024-07-06 15:02:58 +02:00
test_test_fixtures.py
typing.py