Improve entity type hints [o] (#77826)
This commit is contained in:
parent
d6ca3544ee
commit
ea71a462d6
20 changed files with 68 additions and 58 deletions
|
@ -146,7 +146,7 @@ class ObihaiServiceSensors(SensorEntity):
|
|||
return "mdi:restart-alert"
|
||||
return "mdi:phone"
|
||||
|
||||
def update(self):
|
||||
def update(self) -> None:
|
||||
"""Update the sensor."""
|
||||
services = self._pyobihai.get_state()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue