mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 02:38:10 +02:00
Add vacuum activity to pylint type hints check (#147162)
This commit is contained in:
@ -1167,6 +1167,10 @@ def test_vacuum_entity(linter: UnittestLinter, type_hint_checker: BaseChecker) -
|
||||
class MyVacuum( #@
|
||||
StateVacuumEntity
|
||||
):
|
||||
@property
|
||||
def activity(self) -> VacuumActivity | None:
|
||||
pass
|
||||
|
||||
def send_command(
|
||||
self,
|
||||
command: str,
|
||||
|
Reference in New Issue
Block a user