Skip to content

Commit

Permalink
Set correct step on nibe number entity (#86492)
Browse files Browse the repository at this point in the history
  • Loading branch information
elupus authored Jan 24, 2023
1 parent 613aa6f commit 60894c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/nibe_heatpump/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def __init__(self, coordinator: Coordinator, coil: Coil) -> None:
self._attr_native_min_value = float(coil.min)
self._attr_native_max_value = float(coil.max)

self._attr_native_step = 1 / coil.factor
self._attr_native_unit_of_measurement = coil.unit
self._attr_native_value = None

Expand Down

0 comments on commit 60894c3

Please sign in to comment.