Improve entity type hints [d] (#77031)

This commit is contained in:
epenet 2022-08-19 16:10:45 +02:00 committed by GitHub
parent 2d197fd59e
commit bf7239c25d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 141 additions and 119 deletions

View file

@ -119,7 +119,7 @@ class DanfossAir(SensorEntity):
self._attr_device_class = device_class
self._attr_state_class = state_class
def update(self):
def update(self) -> None:
"""Update the new state of the sensor.
This is done through the DanfossAir object that does the actual