Set correct step on nibe number entity (#86492)

This commit is contained in:
Joakim Plate 2023-01-24 01:33:27 +01:00 committed by GitHub
parent 613aa6f43a
commit 60894c33a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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