Skip to content

Commit

Permalink
Fix zigpy fix after Hass 2024.9 update
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Sep 4, 2024
1 parent 6a1f3d7 commit 4d2797d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/xiaomi_gateway3/core/converters/silabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
# for https://github.com/zigpy/zigpy/blob/0.66.0/zigpy/zcl/foundation.py
from zigpy.zcl.foundation import DataType

DATA_TYPES = {int(d.type_id): d for d in DataType}
DATA_TYPES = {
int(d.type_id): (d.description, d.python_type, d.type_class) for d in DataType
}
except ImportError:
# for https://github.com/zigpy/zigpy/blob/0.65.4/zigpy/zcl/foundation.py
from zigpy.zcl.foundation import DATA_TYPES
Expand Down

0 comments on commit 4d2797d

Please sign in to comment.