Improve entity type hints [l] (#77655)

This commit is contained in:
epenet 2022-09-01 14:14:31 +02:00 committed by GitHub
parent 08ab10d470
commit d1ecd74a1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 73 additions and 61 deletions

View file

@ -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