Enable types from aiohomekit to be used by mypy for homekit_controller (#65433)
This commit is contained in:
parent
6c38a6b569
commit
714a952d73
13 changed files with 200 additions and 90 deletions
|
@ -121,7 +121,7 @@ class HomeKitTelevision(HomeKitEntity, MediaPlayerEntity):
|
|||
)
|
||||
|
||||
@property
|
||||
def supported_remote_keys(self) -> set[str]:
|
||||
def supported_remote_keys(self) -> set[int]:
|
||||
"""Remote key buttons that are supported."""
|
||||
if not self.service.has(CharacteristicsTypes.REMOTE_KEY):
|
||||
return set()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue