Skip to content

Commit

Permalink
Adjust typing
Browse files Browse the repository at this point in the history
  • Loading branch information
elupus committed Sep 22, 2022
1 parent 6989df5 commit 83ac216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/nibe_heatpump/number.py
Expand Up @@ -57,7 +57,7 @@ def __init__(self, coordinator: Coordinator, coil: Coil) -> None:
self._attr_native_unit_of_measurement = coil.unit
self._attr_native_value = None

def _async_read_coil(self, coil: Coil):
def _async_read_coil(self, coil: Coil) -> None:
try:
self._attr_native_value = float(coil.value)
except ValueError:
Expand Down

0 comments on commit 83ac216

Please sign in to comment.