From 7d5d0e50140e469dac138c59a73602fd19eb146c Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Wed, 1 Feb 2023 10:14:30 +0100 Subject: [PATCH] home-assistant fix db errors Signed-off-by: Magic_RB --- containers/home-assistant.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/home-assistant.nix b/containers/home-assistant.nix index 6c19ac5..e77db77 100644 --- a/containers/home-assistant.nix +++ b/containers/home-assistant.nix @@ -74,7 +74,7 @@ config = { default_config = {}; recorder = { - db_url = "postgresql://hass:\${PSQL_PASSWORD}@127.0.0.1/hass"; + db_url = "postgresql://hass:\${PSQL_PASSWORD}@127.0.0.1/hass?client_encoding=utf8"; db_max_retries = 5; db_retry_wait = 30; };