Improve entity type hints [n] (#77824)
This commit is contained in:
parent
42393db9f3
commit
420733a064
22 changed files with 69 additions and 59 deletions
|
@ -102,7 +102,7 @@ class NumatoGpioAdc(SensorEntity):
|
|||
"""Return the icon to use in the frontend, if any."""
|
||||
return ICON
|
||||
|
||||
def update(self):
|
||||
def update(self) -> None:
|
||||
"""Get the latest data and updates the state."""
|
||||
try:
|
||||
adc_val = self._api.read_adc_input(self._device_id, self._port)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue