Add blog post about numerical sensors can't be NaN or inf (#1885)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Erik Montnemery 2023-08-23 14:19:58 +02:00 committed by GitHub
parent 463549f5ed
commit dc86fc0bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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