core/tests/components/matter
hidaris 3bd8955e0e
Add Matter Climate support (#95434)
* Add Matter Climate support

* update set target temp and update callback

* remove print

* remove optional property

* Adjust the code to improve readability.

* add thermostat test

* Remove irrelevant cases in setting the target temperature.

* add temp range support

* update hvac action

* support adjust low high setpoint..

* support set hvac mode

* address some review feedback

* move some methods around

* dont discover climate in switch platform

* set some default values

* fix some of the tests

* fix some typos

* Update thermostat.json

* Update homeassistant/components/matter/climate.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/matter/climate.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* support heat_cool in hvac_modes

* address some review feedback

* handle hvac mode param in set temp service

* check hvac modes by featuremap

* add comment to thermostat feature class

* make ruff happy..

* use enum to enhance readability.

* use builtin feature bitmap

* fix target temp range and address some feedback

* use instance attribute instead of class attr

* make ruff happy...

* address feedback about single case

* add init docstring

* more test

* fix typo in tests

* make ruff happy

* fix hvac modes test

* test case for update callback

* remove optional check

* more tests

* more tests

* update all attributes in the update callback

* Update climate.py

* fix missing test

---------

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-07-03 12:33:50 +02:00
..
fixtures Add Matter Climate support (#95434) 2023-07-03 12:33:50 +02:00
__init__.py
common.py Bump Matter Server to 3.6.3 (#95519) 2023-06-29 15:28:34 +02:00
conftest.py
test_adapter.py Bump Matter Server to 3.6.3 (#95519) 2023-06-29 15:28:34 +02:00
test_api.py
test_binary_sensor.py Fix Matter entity names (#95477) 2023-06-28 23:40:12 +02:00
test_climate.py Add Matter Climate support (#95434) 2023-07-03 12:33:50 +02:00
test_config_flow.py
test_cover.py Matter cover position improvements (#92278) 2023-05-31 16:08:01 +02:00
test_diagnostics.py
test_door_lock.py Update matter locks to support pin code validation (#95481) 2023-06-29 11:29:54 +02:00
test_helpers.py
test_init.py Change subscription logic for Matter devices (#95387) 2023-06-27 21:12:29 +02:00
test_light.py
test_sensor.py
test_switch.py