diff --git a/blog/2023-01-25-sensor_rounding.md b/blog/2023-01-25-sensor_rounding.md index 8bac836b..adfff023 100644 --- a/blog/2023-01-25-sensor_rounding.md +++ b/blog/2023-01-25-sensor_rounding.md @@ -5,7 +5,7 @@ title: "Sensor entity can now do rounding of numerical values" --- Note: -The changes described here have been reverted and replaced with rounding for presentation, more details can be found in [this blog post](blog/2023/02/08/sensor_presentation_rounding). +The changes described here have been reverted and replaced with rounding for presentation, more details can be found in [this blog post](/blog/2023/02/08/sensor_presentation_rounding). `SensorEntity` can now do rounding of a numerical `native_value` when it's converted to the sensor state. This is implemented as a part of [core PR #86074](https://github.com/home-assistant/core/pull/86074). The rounding is opt-in by integrations setting the `native_precision` property. It is recommended that this property is set by integrations because it ensures the number of decimals is reasonable also after unit conversion. diff --git a/blog/2023-02-08-sensor_presentation_rounding.md b/blog/2023-02-08-sensor_presentation_rounding.md index b464480d..7b19a5b9 100644 --- a/blog/2023-02-08-sensor_presentation_rounding.md +++ b/blog/2023-02-08-sensor_presentation_rounding.md @@ -17,4 +17,4 @@ The number of displayed decimal digits is influenced by unit conversion: The number of displayed decimal digits is not influenced by unit conversion if the user has set the display precision themselves. Note: -A similar concept where the sensor's state was rounded, detailed in [an earlier blog post](blog/2023/01/25/sensor_rounding), has been reverted. +A similar concept where the sensor's state was rounded, detailed in [an earlier blog post](/blog/2023/01/25/sensor_rounding), has been reverted.