Skip to content

Commit

Permalink
force noresponse exception if Iam is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianTremblay committed Aug 26, 2024
1 parent 7049623 commit 37c425d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BAC0/core/io/Read.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ async def read(
f"Trouble with Iam... Response received from {device_address} = {_iam}",
level="error",
)
if _iam == []:
raise NoResponseFromController
dic = await self.this_application.app.device_info_cache.get_device_info(
device_address
)
Expand Down

0 comments on commit 37c425d

Please sign in to comment.