File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 2727 UnsupportedDevice ,
2828)
2929
30- __version__ = "0.2.0-beta.6 "
30+ __version__ = "0.2.0-beta.7 "
3131
3232
3333log = logging .getLogger (__name__ )
@@ -102,12 +102,6 @@ def __init__(
102102 self .locks : list [ADCLock ] = []
103103 self .garage_doors : list [ADCGarageDoor ] = []
104104
105- self ._init_hook ()
106-
107- def _init_hook (self ) -> None :
108- """Let child classes do things during init without overriding the whole function."""
109- pass
110-
111105 #
112106 #
113107 ##############
@@ -566,7 +560,8 @@ async def _async_get_items_and_subordinates(
566560 device_type ,
567561 device_type ,
568562 )
569- raise DeviceTypeNotAuthorized
563+ # Carry on. We'll still try to load all other devices to which a user has access.
564+ return []
570565
571566 if rsp_errors [0 ].get ("status" ) == "403" :
572567 # This could mean that we're logged out. Try logging in once, then assume bad credentials or some other issue.
You can’t perform that action at this time.
0 commit comments