mirror of
https://github.com/Matysh/houseplan-card
synced 2026-07-31 16:38:31 +00:00
websocket_api: import DOMAIN — the trail-recorder refresh crashed config/set
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.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user