Improve entity type hints [d] (#77031)
This commit is contained in:
parent
2d197fd59e
commit
bf7239c25d
31 changed files with 141 additions and 119 deletions
|
@ -133,7 +133,7 @@ class DovadoSensor(SensorEntity):
|
|||
return round(float(state) / 1e6, 1)
|
||||
return state
|
||||
|
||||
def update(self):
|
||||
def update(self) -> None:
|
||||
"""Update sensor values."""
|
||||
self._data.update()
|
||||
self._attr_native_value = self._compute_state()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue