diff --git a/homeassistant/components/websocket_api/const.py b/homeassistant/components/websocket_api/const.py index 0681a422db1067..7c3f18f856c5fb 100644 --- a/homeassistant/components/websocket_api/const.py +++ b/homeassistant/components/websocket_api/const.py @@ -23,7 +23,6 @@ ERR_ID_REUSE = "id_reuse" ERR_INVALID_FORMAT = "invalid_format" ERR_NOT_FOUND = "not_found" -ERR_NOT_LOADED = "not_loaded" ERR_NOT_SUPPORTED = "not_supported" ERR_HOME_ASSISTANT_ERROR = "home_assistant_error" ERR_UNKNOWN_COMMAND = "unknown_command" diff --git a/homeassistant/components/zwave_js/api.py b/homeassistant/components/zwave_js/api.py index 7eba39d1b7c670..81600ec6c162cc 100644 --- a/homeassistant/components/zwave_js/api.py +++ b/homeassistant/components/zwave_js/api.py @@ -22,7 +22,6 @@ from homeassistant.components.websocket_api.connection import ActiveConnection from homeassistant.components.websocket_api.const import ( ERR_NOT_FOUND, - ERR_NOT_LOADED, ERR_NOT_SUPPORTED, ERR_UNKNOWN_ERROR, ) @@ -45,6 +44,7 @@ # general API constants ID = "id" ENTRY_ID = "entry_id" +ERR_NOT_LOADED = "not_loaded" NODE_ID = "node_id" COMMAND_CLASS_ID = "command_class_id" TYPE = "type" diff --git a/tests/components/zwave_js/test_api.py b/tests/components/zwave_js/test_api.py index e471b1dd1a7d6a..57961ee89e4e34 100644 --- a/tests/components/zwave_js/test_api.py +++ b/tests/components/zwave_js/test_api.py @@ -6,12 +6,13 @@ from zwave_js_server.event import Event from zwave_js_server.exceptions import InvalidNewValue, NotFoundError, SetValueFailed -from homeassistant.components.websocket_api.const import ERR_NOT_FOUND, ERR_NOT_LOADED +from homeassistant.components.websocket_api.const import ERR_NOT_FOUND from homeassistant.components.zwave_js.api import ( COMMAND_CLASS_ID, CONFIG, ENABLED, ENTRY_ID, + ERR_NOT_LOADED, FILENAME, FORCE_CONSOLE, ID,