Skip to content

Commit 61aaf60

Browse files
committed
Fix private imports
1 parent ed8e0a4 commit 61aaf60

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

zha/zigbee/device.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,13 @@
3131
ZCLCommandDef,
3232
)
3333
import zigpy.zdo.types as zdo_types
34-
from zigpy.zdo.types import RouteStatus, _NeighborEnums
34+
from zigpy.zdo.types import (
35+
DeviceType,
36+
PermitJoins,
37+
Relationship,
38+
RouteStatus,
39+
RxOnWhenIdle,
40+
)
3541

3642
from zha.application import Platform, discovery
3743
from zha.application.const import (
@@ -202,13 +208,13 @@ class DeviceInfo:
202208
class NeighborInfo:
203209
"""Describes a neighbor."""
204210

205-
device_type: _NeighborEnums.DeviceType
206-
rx_on_when_idle: _NeighborEnums.RxOnWhenIdle
207-
relationship: _NeighborEnums.Relationship
211+
device_type: DeviceType
212+
rx_on_when_idle: RxOnWhenIdle
213+
relationship: Relationship
208214
extended_pan_id: ExtendedPanId
209215
ieee: EUI64
210216
nwk: NWK
211-
permit_joining: _NeighborEnums.PermitJoins
217+
permit_joining: PermitJoins
212218
depth: uint8_t
213219
lqi: uint8_t
214220

0 commit comments

Comments
 (0)