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
alarm_control_panel.py
api.py
backup.py
binary_sensor.py
button.py
climate.py
config_flow.py
cover.py
device_action.py
device_tracker.py
device_trigger.py
diagnostics.py Fix ZHA device diagnostics error for unknown unsupported attributes (#101239) 2023-10-06 12:23:48 -04:00
entity.py
fan.py
light.py
lock.py
logbook.py
manifest.json
number.py
radio_manager.py
repairs.py
select.py
sensor.py
services.yaml
silabs_multiprotocol.py
siren.py
strings.json
switch.py
websocket_api.py