mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Remove str from cover device class (#83396)
* Remove str from cover device class * Fix tests
This commit is contained in:
@@ -1086,7 +1086,7 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
|
||||
matches=[
|
||||
TypeHintMatch(
|
||||
function_name="device_class",
|
||||
return_type=["CoverDeviceClass", "str", None],
|
||||
return_type=["CoverDeviceClass", None],
|
||||
),
|
||||
TypeHintMatch(
|
||||
function_name="current_cover_position",
|
||||
|
||||
Reference in New Issue
Block a user