diff --git a/blog/2023-08-23-sensor-updates.md b/blog/2023-08-23-sensor-updates.md new file mode 100644 index 00000000..1cdb7a95 --- /dev/null +++ b/blog/2023-08-23-sensor-updates.md @@ -0,0 +1,11 @@ +--- +author: Erik Montnémery +authorURL: https://github.com/emontnemery +title: "Numerical sensors are no longer allowed to set their state to NaN or inf" +--- + +Numerical sensors are no longer allowed to set their state to [Not a Number](https://en.wikipedia.org/wiki/NaN) or to positive or negative infinity. + +The change was introduce in [core PR#98110](https://github.com/home-assistant/core/pull/98110) + +For more details, refer to the [`sensor` documentation](/docs/core/entity/sensor).