hass-core/homeassistant/components/zha
TheJulianJES 5d0c8947a1
Fix ZHA device diagnostics error for unknown unsupported attributes (#101239)
* Modify test to account for scenario of unknown unsupported attributes

* Add error checking for finding unsupported attributes

* Change comment to clarify zigpy misses an attribute def

This should make it more clear that it's about an unknown attribute (where zigpy doesn't have an attribute definition).

* Increase test coverage

This increases test coverage by doing the following:
- adding the `IasZone` to our test device, so we have a cluster which actually has some attribute definitions
- adding not just an unknown unsupported attribute by id, but also by name
- adding a known unsupported attribute by id and by name

* Fix diagnostics logic
2023-10-06 12:23:48 -04:00
..
core Fix ZHA exception when writing cie_addr during configuration (#101087) 2023-09-28 21:56:17 -04:00
__init__.py Update pylint to 2.17.6 (#100849) 2023-09-25 09:14:07 -05:00
alarm_control_panel.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
api.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
backup.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
binary_sensor.py Revert "Cache entity properties that are never expected to change in the base class" (#100422) 2023-09-15 11:25:24 +02:00
button.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
climate.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
config_flow.py Create a ZHA repair when directly accessing a radio with multi-PAN firmware (#98275) 2023-09-01 09:05:45 -04:00
cover.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
device_action.py
device_tracker.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
device_trigger.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
diagnostics.py Fix ZHA device diagnostics error for unknown unsupported attributes (#101239) 2023-10-06 12:23:48 -04:00
entity.py Use hass.loop.create_future() in zha (#100056) 2023-09-13 13:32:00 +02:00
fan.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
light.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
lock.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
logbook.py
manifest.json Bump ZHA dependencies (#100979) 2023-09-26 23:39:07 -05:00
number.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
radio_manager.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
repairs.py Create a ZHA repair when directly accessing a radio with multi-PAN firmware (#98275) 2023-09-01 09:05:45 -04:00
select.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
sensor.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
services.yaml Migrate zha services to support translations (#96418) 2023-07-12 20:49:36 +02:00
silabs_multiprotocol.py
siren.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
strings.json ZHA multiprotocol detected message: add info (#100686) 2023-09-21 19:23:02 +02:00
switch.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00
websocket_api.py Migrate internal ZHA data to a dataclasses (#100127) 2023-09-11 21:39:33 +02:00