Improve entity type hints [m] (#77816)

This commit is contained in:
epenet 2022-09-05 10:59:36 +02:00 committed by GitHub
parent ce6e57da5d
commit 6355e682fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 103 additions and 85 deletions

View file

@ -43,7 +43,7 @@ class MaxCubeBinarySensorBase(BinarySensorEntity):
self._device = device
self._room = handler.cube.room_by_id(device.room_id)
def update(self):
def update(self) -> None:
"""Get latest data from MAX! Cube."""
self._cubehandle.update()