Set correct step on nibe number entity (#86492)
This commit is contained in:
parent
613aa6f43a
commit
60894c33a7
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ class Number(CoilEntity, NumberEntity):
|
|||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue