From 3507ee5ea42d471eb8b24d353261ece504a12bc6 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 2 Jan 2023 23:28:14 -1000 Subject: [PATCH] Add blog post about db schema v32 (#1606) --- blog/2023-01-02-db-schema-v32.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 blog/2023-01-02-db-schema-v32.md diff --git a/blog/2023-01-02-db-schema-v32.md b/blog/2023-01-02-db-schema-v32.md new file mode 100644 index 00000000..98ee5a15 --- /dev/null +++ b/blog/2023-01-02-db-schema-v32.md @@ -0,0 +1,11 @@ +--- +author: J. Nick Koston +authorURL: https://github.com/bdraco +title: "Database schema v32 updates" +--- + +For Home Assistant Core 2023.2 the database schema has changed. + +This change affects custom integrations that do not use the `recorder` [`history`](https://github.com/home-assistant/core/blob/dev/homeassistant/components/recorder/history.py) API and access the `last_updated`, `last_changed`, or `time_fired` columns directly. + +The documentation for the [`events`](https://data.home-assistant.io/docs/events) and [`states`](https://data.home-assistant.io/docs/events/) have been updated and is available at the [Data Science Portal](https://data.home-assistant.io/).