Skip to content

Commit 434653a

Browse files
committed
include fields w/ None for a value
1 parent 46eff7e commit 434653a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zha/application/platforms/websocket_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ async def execute_platform_entity_command(
6161
arg_spec = inspect.getfullargspec(action)
6262
if arg_spec.varkw:
6363
if inspect.iscoroutinefunction(action):
64-
await action(**command.model_dump(exclude_none=True))
64+
await action(**command.model_dump())
6565
else:
66-
action(**command.model_dump(exclude_none=True))
66+
action(**command.model_dump())
6767
elif inspect.iscoroutinefunction(action):
6868
await action()
6969
else:

0 commit comments

Comments
 (0)