Skip to content

Commit

Permalink
Merge pull request #260 from mdeweerd/dev
Browse files Browse the repository at this point in the history
Correct code to list member properties of gateway on error
  • Loading branch information
mdeweerd authored Aug 19, 2024
2 parents 5221f32 + beee787 commit 458ba50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/zha_toolkit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,6 @@ def get_hass(gateway: ZHAGateway):
if hass is None:
msg = f"Could not get hass from {gateway!r}."
if gateway is not None:
msg += "Attributes available {dir(gateway)}."
msg += f"Attributes available {dir(gateway)}."
raise ValueError(msg)
return hass

0 comments on commit 458ba50

Please sign in to comment.