Cleanup update/async_update typing in Entities (#74035)

This commit is contained in:
epenet 2022-06-28 00:48:56 +02:00 committed by GitHub
parent 21b842cf9c
commit e8917af823
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View file

@ -233,7 +233,7 @@ class GaradgetCover(CoverEntity):
self._start_watcher("stop")
return ret["return_value"] == 1
def update(self):
def update(self) -> None:
"""Get updated status from API."""
try:
status = self._get_variable("doorStatus")