Improve entity type hints [s] (part 1/2) (#77881)
This commit is contained in:
parent
34da463df0
commit
0c767bd0d3
25 changed files with 86 additions and 70 deletions
|
@ -91,7 +91,7 @@ class SmappeePresence(BinarySensorEntity):
|
|||
sw_version=self._service_location.firmware_version,
|
||||
)
|
||||
|
||||
async def async_update(self):
|
||||
async def async_update(self) -> None:
|
||||
"""Get the latest data from Smappee and update the state."""
|
||||
await self._smappee_base.async_update()
|
||||
|
||||
|
@ -174,7 +174,7 @@ class SmappeeAppliance(BinarySensorEntity):
|
|||
sw_version=self._service_location.firmware_version,
|
||||
)
|
||||
|
||||
async def async_update(self):
|
||||
async def async_update(self) -> None:
|
||||
"""Get the latest data from Smappee and update the state."""
|
||||
await self._smappee_base.async_update()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue