From 089c5ef462a1b95ab11db935c3bf571e4495d735 Mon Sep 17 00:00:00 2001 From: Matysh Date: Fri, 31 Jul 2026 11:11:56 +0300 Subject: [PATCH] =?UTF-8?q?websocket=5Fapi:=20import=20DOMAIN=20=E2=80=94?= =?UTF-8?q?=20the=20trail-recorder=20refresh=20crashed=20config/set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Caught only by the CI HA harness; the pure suite never exercises the import. NameError inside ws_config_set turned every save into unknown_error. --- custom_components/houseplan/websocket_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/custom_components/houseplan/websocket_api.py b/custom_components/houseplan/websocket_api.py index b5bb00c..04d87ac 100755 --- a/custom_components/houseplan/websocket_api.py +++ b/custom_components/houseplan/websocket_api.py @@ -16,6 +16,7 @@ from homeassistant.components import websocket_api from homeassistant.core import HomeAssistant, callback from .const import ( + DOMAIN, CONF_ADMIN_ONLY, DEFAULT_CONFIG, CONTENT_URL, FILES_DIR, MAX_PLANS_BYTES, MAX_PLANS_FILES, MAX_PLANS_LISTED, MAX_SIGN_PATHS,