Skip to content

Commit

Permalink
fix mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
MindFreeze committed Nov 13, 2024
1 parent 86f1099 commit 7b72257
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zwave_js_server/model/endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,9 @@ async def async_set_raw_config_parameter_value(

data = await self.async_send_command(
"set_raw_config_parameter_value",
**{k: v for k, v in options.items() if v is not None},
require_schema=33,
wait_for_result=None,
**{k: v for k, v in options.items() if v is not None},
)

if data is None:
Expand Down Expand Up @@ -353,9 +354,9 @@ async def async_get_raw_config_parameter_value(

result = await self.async_send_command(
"get_raw_config_parameter_value",
**{k: v for k, v in options.items() if v is not None},
require_schema=39,
wait_for_result=True,
**{k: v for k, v in options.items() if v is not None},
)
assert result
return result["value"]

0 comments on commit 7b72257

Please sign in to comment.