mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 02:38:10 +02:00
Add common entity module to pylint plugin (#138706)
* Add common entity module to pylint plugin * Fix pylint errors
This commit is contained in:
@ -1410,6 +1410,16 @@ _INHERITANCE_MATCH: dict[str, list[ClassTypeHintMatch]] = {
|
||||
],
|
||||
),
|
||||
],
|
||||
"entity": [
|
||||
ClassTypeHintMatch(
|
||||
base_class="Entity",
|
||||
matches=_ENTITY_MATCH,
|
||||
),
|
||||
ClassTypeHintMatch(
|
||||
base_class="RestoreEntity",
|
||||
matches=_RESTORE_ENTITY_MATCH,
|
||||
),
|
||||
],
|
||||
"fan": [
|
||||
ClassTypeHintMatch(
|
||||
base_class="Entity",
|
||||
|
Reference in New Issue
Block a user