Cleanup device_class checks in pylint plugin (#76458)

pull/76567/head
epenet 2022-08-09 16:56:15 +02:00 committed by GitHub
parent bcdf880364
commit bd795be0e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 12 deletions

View File

@ -611,10 +611,6 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
ClassTypeHintMatch(
base_class="AlarmControlPanelEntity",
matches=[
TypeHintMatch(
function_name="device_class",
return_type=["str", None],
),
TypeHintMatch(
function_name="code_format",
return_type=["CodeFormat", None],
@ -1220,10 +1216,6 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
ClassTypeHintMatch(
base_class="FanEntity",
matches=[
TypeHintMatch(
function_name="device_class",
return_type=["str", None],
),
TypeHintMatch(
function_name="percentage",
return_type=["int", None],
@ -1428,10 +1420,6 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
ClassTypeHintMatch(
base_class="LockEntity",
matches=[
TypeHintMatch(
function_name="device_class",
return_type=["str", None],
),
TypeHintMatch(
function_name="changed_by",
return_type=["str", None],