mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-23 09:16:32 +00:00
Add a blog post for Statistics WebSocket API changes (#1763)
This commit is contained in:
parent
bbd8f67c49
commit
14d0001d32
11
blog/2023-04-30-statistics_impossible_values.md
Normal file
11
blog/2023-04-30-statistics_impossible_values.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
author: J. Nick Koston
|
||||
authorURL: https://github.com/bdraco
|
||||
title: "Statistics WebSocket API changes"
|
||||
---
|
||||
|
||||
This change affects WebSocket APIs: `recorder/statistic_during_period` and `recorder/statistics_during_period`. The Home Assistant project does not currently document these APIs, as they may change.
|
||||
|
||||
For Home Assistant Core 2023.6 the statistics WebSocket API will no longer return columns that it knows will be empty. Callers should treat the lack of values the same as null values.
|
||||
|
||||
To reduce database overhead, if the statistics backend knows in advance that all rows for a column will be empty values, the column will no longer be returned.
|
Loading…
x
Reference in New Issue
Block a user