Skip to content

Commit 11851c2

Browse files
committed
Update typing hint (add dict to param value types)
1 parent 0decc07 commit 11851c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

custom_components/zha_toolkit/utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -849,14 +849,14 @@ def isManf(manf, includeNone=False):
849849
#
850850
def extractParams( # noqa: C901
851851
service,
852-
) -> dict[str, None | int | str | list[int | str] | bytes]:
852+
) -> dict[str, None | int | str | list[int | str] | dict | bytes]:
853853
rawParams = service.data
854854

855855
LOGGER.debug("Parameters '%s'", rawParams)
856856

857857
# Potential parameters, initialized to None
858858
# TODO: Not all parameters are decoded in this function yet
859-
params: dict[str, None | int | str | list[int | str] | bytes] = {
859+
params: dict[str, None | int | str | list[int | str] | dict | bytes] = {
860860
p.CMD_ID: None,
861861
p.EP_ID: None,
862862
p.DST_EP_ID: None,

0 commit comments

Comments
 (0)