Improve entity type hints [t] (#77883)
This commit is contained in:
parent
0c767bd0d3
commit
458001a06e
29 changed files with 67 additions and 60 deletions
|
@ -49,7 +49,7 @@ class TotalConnectBinarySensor(BinarySensorEntity):
|
|||
"""Return the name of the device."""
|
||||
return self._name
|
||||
|
||||
def update(self):
|
||||
def update(self) -> None:
|
||||
"""Return the state of the device."""
|
||||
self._is_tampered = self._zone.is_tampered()
|
||||
self._is_low_battery = self._zone.is_low_battery()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue