Break up websocket 2 (#17028)
* Break up websocket 2 * Lint+Test * Lintttt * Rename
This commit is contained in:
parent
b5e3d8c337
commit
2e6346ca43
27 changed files with 641 additions and 568 deletions
8
homeassistant/components/websocket_api/error.py
Normal file
8
homeassistant/components/websocket_api/error.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
"""WebSocket API related errors."""
|
||||
from homeassistant.exceptions import HomeAssistantError
|
||||
|
||||
|
||||
class Disconnect(HomeAssistantError):
|
||||
"""Disconnect the current session."""
|
||||
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue