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; };