Skip to content

Commit e7a5548

Browse files
authored
Fix invoke_cc_api bug (#411)
1 parent 3f77494 commit e7a5548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zwave_js_server/model/endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ async def async_invoke_cc_api(
168168
require_schema=7,
169169
wait_for_result=wait_for_result,
170170
)
171-
if result is None:
171+
if not result:
172172
return None
173173
return result["response"]
174174

0 commit comments

Comments
 (0)