File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 ZCLCommandDef ,
3232)
3333import 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
3642from zha .application import Platform , discovery
3743from zha .application .const import (
@@ -202,13 +208,13 @@ class DeviceInfo:
202208class 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
You can’t perform that action at this time.
0 commit comments