Remove str from update device class (#83399)

This commit is contained in:
Franck Nijhof
2022-12-06 14:50:19 +01:00
committed by GitHub
parent 923fa473e1
commit 91cf2e2792
2 changed files with 4 additions and 4 deletions

View File

@@ -2325,7 +2325,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
),
TypeHintMatch(
function_name="device_class",
return_type=["UpdateDeviceClass", "str", None],
return_type=["UpdateDeviceClass", None],
),
TypeHintMatch(
function_name="in_progress",