Skip to content

Commit

Permalink
Fix invoke_cc_api bug (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
raman325 authored Apr 30, 2022
1 parent 3f77494 commit e7a5548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zwave_js_server/model/endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ async def async_invoke_cc_api(
require_schema=7,
wait_for_result=wait_for_result,
)
if result is None:
if not result:
return None
return result["response"]

Expand Down

0 comments on commit e7a5548

Please sign in to comment.