Improve entity type hints [l] (#77655)
This commit is contained in:
parent
08ab10d470
commit
d1ecd74a1a
20 changed files with 73 additions and 61 deletions
|
@ -50,7 +50,7 @@ class LightwaveBattery(SensorEntity):
|
|||
self._serial = serial
|
||||
self._attr_unique_id = f"{serial}-trv-battery"
|
||||
|
||||
def update(self):
|
||||
def update(self) -> None:
|
||||
"""Communicate with a Lightwave RTF Proxy to get state."""
|
||||
(dummy_temp, dummy_targ, battery, dummy_output) = self._lwlink.read_trv_status(
|
||||
self._serial
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue