Skip to content

Commit beee787

Browse files
committed
Correct code to list members on errors
1 parent cc06ed5 commit beee787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/zha_toolkit/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1186,6 +1186,6 @@ def get_hass(gateway: ZHAGateway):
11861186
if hass is None:
11871187
msg = f"Could not get hass from {gateway!r}."
11881188
if gateway is not None:
1189-
msg += "Attributes available {dir(gateway)}."
1189+
msg += f"Attributes available {dir(gateway)}."
11901190
raise ValueError(msg)
11911191
return hass

0 commit comments

Comments
 (0)