core/tests/components/zha
David F. Mulcahey 73b6e2bac8
Add support for ZHA entities exposed by Zigpy quirks (#111176)
* Add counter entities to the ZHA coordinator device

* rework to prepare for non coordinator device counters

* Initial scaffolding to support quirks v2 entities

* update for zigpy changes

* add assertion error message

* clean up test

* update group entity discovery kwargs

* constants and clearer names

* apply custom device configuration

* quirks switches

* quirks select entities

* quirks sensor entities

* update discovery

* move call to super

* add complex quirks v2 discovery test

* remove duplicate replaces

* add quirks v2 button entity support

* add quirks v2 binary sensor entity support

* fix exception in counter entitiy discovery

* oops

* update formatting

* support custom on and off values

* logging

* don't filter out entities quirks says should be created

* fix type alias warnings

* sync up with zigpy changes and additions

* add a binary sensor test

* button coverage

* switch coverage

* initial select coverage

* number coverage

* sensor coverage

* update discovery after rebase

* coverage

* single line

* line lengths

* fix double underscore

* review comments

* set category from quirks in base entity

* line lengths

* move comment

* imports

* simplify

* simplify
2024-02-29 10:38:21 -05:00
..
__init__.py
common.py
conftest.py Use new zigpy OTA providers for ZHA (#111159) 2024-02-28 14:38:04 -05:00
data.py
test_alarm_control_panel.py
test_api.py
test_backup.py
test_base.py
test_binary_sensor.py
test_button.py Add support for ZHA entities exposed by Zigpy quirks (#111176) 2024-02-29 10:38:21 -05:00
test_climate.py
test_cluster_handlers.py
test_config_flow.py Use discovery flow helper for hardware integrations (#111437) 2024-02-26 12:04:33 -05:00
test_cover.py
test_device.py
test_device_action.py
test_device_tracker.py
test_device_trigger.py
test_diagnostics.py Add device list to ZHA config entry diagnostics (#111549) 2024-02-27 06:44:26 -05:00
test_discover.py Add support for ZHA entities exposed by Zigpy quirks (#111176) 2024-02-29 10:38:21 -05:00
test_fan.py
test_gateway.py
test_helpers.py
test_init.py
test_light.py
test_lock.py
test_logbook.py
test_number.py
test_radio_manager.py
test_registries.py
test_repairs.py
test_select.py Add support for ZHA entities exposed by Zigpy quirks (#111176) 2024-02-29 10:38:21 -05:00
test_sensor.py Add support for ZHA entities exposed by Zigpy quirks (#111176) 2024-02-29 10:38:21 -05:00
test_silabs_multiprotocol.py
test_siren.py
test_switch.py Add support for ZHA entities exposed by Zigpy quirks (#111176) 2024-02-29 10:38:21 -05:00
test_update.py Use new zigpy OTA providers for ZHA (#111159) 2024-02-28 14:38:04 -05:00
test_websocket_api.py
zha_devices_list.py