core/tests
Caius-Bonus 7f7128adbf
Add Danfoss Ally thermostat and derivatives to ZHA (#86907)
* zha integration: Add danfoss specific clusters and attributes; add thermostat.pi_heating_demand and thermostat_ui.keypad_lockout

* zha integration: fix Danfoss thermostat viewing direction not working because of use of bitmap8 instead of enum8

* ZHA Integration: add missing ThermostatChannelSensor

* ZHA integration: format using black

* zha integration: fix flake8 issues

* ZHA danfoss: Add MinHeatSetpointLimit, MaxHeatSetpointLimit, add reporting and read config for danfoss and keypad_lockout.

* ZHA danfoss: fix mypy complaining about type of _attr_entity_category

* ZHA danfoss: ruff fix

* fix tests

* pylint: disable-next=hass-invalid-inheritance

* fix pylint tests

* refactoring

* remove scheduled setpoint

* remove scheduled setpoint in manufacturer specific

* refactor

* fix tests

* change cluster ids

* remove custom clusters

* code quality

* match clusters in manufacturerspecific on quirk class

* fix comment

* fix match on quirk in manufacturerspecific.py

* correctly extend cluster handlers in manufacturerspecific.py and remove workaround for illegal use of attribute updated signals in climate.py

* fix style

* allow non-danfoss thermostats to work in manufacturerspecific.py

* correct order of init of parent and subclasses in manufacturerspecific.py

* improve entity names

* fix pylint

* explicitly state changing size of tuple

* ignore tuple size change error

* really ignore error

* initial

* fix tests

* match on specific name and quirk name

* don't restructure file as it is out of scope

* move back

* remove unnecessary change

* fix tests

* fix tests

* remove code duplication

* reduce code duplication

* empty line

* remove unused variable

* end file on newline

* comply with recent PRs

* correctly initialize all attributes

* comply with recent PRs

* make class variables private

* forgot one reference

* swap 2 lines for consistency

* reorder 2 lines

* fix tests

* align with recent PR

* store cluster handlers in only one place

* edit tests

* use correct device for quirk id

* change quirk id

* fix tests

* even if there is a quirk id, it doesn't have to have a specific cluster handler

* add tests

* use quirk id for manufacturer specific cluster handlers

* use quirk_ids instead of quirks_classes

* rename quirk_id

* rename quirk_id

* forgot to rename here

* rename id

* add tests

* fix tests

* fix tests

* use quirk ids from zha_quirks

* use quirk id from zha_quirks

* wrong translation

* sync changes with ZCL branch

* sync

* style

* merge error

* move bitmapSensor

* merge error

* merge error

* watch the capitals

* fix entity categories

* more decapitalization

* translate BitmapSensor

* translate all enums

* translate all enums

* don't convert camelcase to snakecase

* don't change enums at all

* remove comments

* fix bitmaps and add enum for algorithm scale factor

* improve readability if bitmapsensor

* fix capitals

* better setpoint response time

* feedback

* lowercase every enum to adhere to the translation_key standard

* remove enum state translations and use enums from quirks

* correctly capitalize OrientationEnum

* bump zha dependencies; this will have to be done in a separate PR, but this aids review

* accidentally removed enum

* tests

* comment

* Migrate reporting and ZCL attribute config out of `__init__`

* hvac.py shouldn't be changed in this pull request

* change wording comment

* I forgot I changed the size of the tuple.

---------

Co-authored-by: puddly <32534428+puddly@users.noreply.github.com>
2024-06-12 12:48:37 -04:00
..
auth Add ws endpoint to remove expiration date from refresh tokens (#117546) 2024-05-29 09:09:59 +02:00
components Add Danfoss Ally thermostat and derivatives to ZHA (#86907) 2024-06-12 12:48:37 -04:00
fixtures
hassfest Enable Ruff PT012 (#113957) 2024-06-08 17:59:08 +02:00
helpers Fix bad-chained-comparison pylint warning in tests (#119477) 2024-06-12 12:35:55 +02:00
non_packaged_scripts
pylint Ignore nested functions when enforcing type hints in tests (#118948) 2024-06-06 10:43:31 +02:00
resources
script
scripts Add more type hints to pylint plugin (#118319) 2024-05-28 18:37:38 +02:00
snapshots
test_util
testing_config Fix pylint warnings in testing config custom components (#119370) 2024-06-11 14:59:49 +02:00
util Ignore broad-exception-raised pylint warnings in tests (#119468) 2024-06-12 12:21:41 +02:00
__init__.py
common.py Fix arguments-renamed pylint warning in tests (#119473) 2024-06-12 12:25:29 +02:00
conftest.py Ignore misplaced-bare-raise warnings in tests (#119403) 2024-06-11 17:59:54 +02:00
ignore_uncaught_exceptions.py Ensure config entries are not unloaded while their platforms are setting up (#118767) 2024-06-04 21:34:39 -04:00
patch_time.py
ruff.toml
syrupy.py
test_backports.py Fix import pylint warning in core tests (#119359) 2024-06-11 15:04:00 +02:00
test_block_async_io.py Fix unspecified-encoding warnings in tests (#119405) 2024-06-11 17:58:40 +02:00
test_bootstrap.py Remove unused caplog fixtures in tests (#119056) 2024-06-07 11:38:56 +02:00
test_circular_imports.py Remove isal from after_dependencies in http (#119000) 2024-06-07 09:21:53 +02:00
test_config.py Fix consider-using-tuple pylint warnings in core tests (#119463) 2024-06-12 12:35:01 +02:00
test_config_entries.py Fix arguments-renamed pylint warning in tests (#119473) 2024-06-12 12:25:29 +02:00
test_const.py Fix import pylint warning in core tests (#119359) 2024-06-11 15:04:00 +02:00
test_core.py Fix consider-using-tuple pylint warnings in core tests (#119463) 2024-06-12 12:35:01 +02:00
test_data_entry_flow.py Fix arguments-renamed pylint warning in tests (#119473) 2024-06-12 12:25:29 +02:00
test_exceptions.py
test_loader.py Fix import pylint warning in core tests (#119359) 2024-06-11 15:04:00 +02:00
test_main.py
test_requirements.py Enable Ruff PT012 (#113957) 2024-06-08 17:59:08 +02:00
test_runner.py Ignore broad-exception-raised pylint warnings in tests (#119468) 2024-06-12 12:21:41 +02:00
test_setup.py Ignore broad-exception-raised pylint warnings in tests (#119468) 2024-06-12 12:21:41 +02:00
test_test_fixtures.py Add more type hints to pylint plugin (#118319) 2024-05-28 18:37:38 +02:00
typing.py Use PEP 695 type alias in tests (#117797) 2024-05-20 19:03:04 +02:00