mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-04-19 10:57:14 +00:00
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:
parent
463549f5ed
commit
dc86fc0bdf
11
blog/2023-08-23-sensor-updates.md
Normal file
11
blog/2023-08-23-sensor-updates.md
Normal 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).
|
Loading…
x
Reference in New Issue
Block a user