hass-core/tests
Christopher Fenner f764705629
Add support for ventilation device to ViCare (#114175)
* add ventilation program & mode

* add ventilation device

* Update climate.py

* Update climate.py

* Update climate.py

* Update climate.py

* Update climate.py

* Update const.py

* Create fan.py

* Update fan.py

* Update types.py

* add test case

* add translation key

* use translation key

* update snapshot

* fix ruff findings

* fix ruff findings

* add log messages to setter

* adjust test case

* reset climate entity

* do not display speed if not in permanent mode

* update snapshot

* update test cases

* add comment

* mark fan as always on

* prevent turning off device

* allow to set permanent mode

* make speed_count static

* add debug outputs

* add preset state translations

* allow permanent mode

* update snapshot

* add test case

* load programs only on init

* comment on ventilation modes

* adjust test cases

* add exception message

* ignore test coverage on fan.py

* Update test_fan.py

* simplify

* Apply suggestions from code review

* remove tests

* remove extra state attributes

* fix leftover

* add missing labels

* adjust label

* change state keys

* use _attr_preset_modes

* fix ruff findings

* fix attribute access

* fix from_ha_mode

* fix ruff findings

* fix mypy findings

* simplify

* format

* fix typo

* fix ruff finding

* Apply suggestions from code review

* change fan mode handling

* add test cases

* remove turn_off

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Apply suggestions from code review

* Update fan.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-07-31 16:23:27 +02:00
..
auth Update import locations in tests (#122216) 2024-07-20 11:16:04 +02:00
components Add support for ventilation device to ViCare (#114175) 2024-07-31 16:23:27 +02:00
fixtures
hassfest
helpers Add enable_millisecond to duration selector (#122821) 2024-07-31 16:13:05 +02:00
non_packaged_scripts
pylint
resources
script
scripts
snapshots Add created_at/modified_at to config entries (#122456) 2024-07-29 22:08:46 +02:00
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 Verify respx mock routes are cleaned up when tests finish (#122852) 2024-07-30 17:12:58 +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 config entries (#122456) 2024-07-29 22:08:46 +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 Use HOMEASSISTANT_DOMAIN alias for core DOMAIN in tests (#122762) 2024-07-29 12:51:12 +02:00
test_config_entries.py Add created_at/modified_at to config entries (#122456) 2024-07-29 22:08:46 +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 Use HOMEASSISTANT_DOMAIN alias for core DOMAIN in tests (#122762) 2024-07-29 12:51:12 +02:00
test_test_fixtures.py
typing.py