diff --git a/custom_components/oasis_mini/number.py b/custom_components/oasis_mini/number.py index e9b3343..66fe93d 100644 --- a/custom_components/oasis_mini/number.py +++ b/custom_components/oasis_mini/number.py @@ -76,12 +76,12 @@ class OasisDeviceNumberEntity(OasisDeviceEntity, NumberEntity): """Oasis device number entity.""" @property - def native_value(self) -> str | None: + def native_value(self) -> float | None: """ Get the current value of the number entity from the underlying device. Returns: - str | None: The current value as a string, or `None` if the device has no value. + float | None: The current value as a float, or `None` if the device has no value. """ return getattr(self.device, self.entity_description.key)