mirror of
https://github.com/home-assistant/core.git
synced 2025-11-16 14:30:22 +00:00
Break up websocket component (#17003)
* Break up websocket component * Lint
This commit is contained in:
8
homeassistant/components/websocket_api/const.py
Normal file
8
homeassistant/components/websocket_api/const.py
Normal file
@@ -0,0 +1,8 @@
|
||||
"""Websocket constants."""
|
||||
ERR_ID_REUSE = 1
|
||||
ERR_INVALID_FORMAT = 2
|
||||
ERR_NOT_FOUND = 3
|
||||
ERR_UNKNOWN_COMMAND = 4
|
||||
ERR_UNKNOWN_ERROR = 5
|
||||
|
||||
TYPE_RESULT = 'result'
|
||||
Reference in New Issue
Block a user