Break up websocket 2 (#17028)

* Break up websocket 2

* Lint+Test

* Lintttt

* Rename
This commit is contained in:
Paulus Schoutsen 2018-10-01 16:09:31 +02:00 committed by Pascal Vizeli
parent b5e3d8c337
commit 2e6346ca43
27 changed files with 641 additions and 568 deletions

View file

@ -48,4 +48,4 @@ async def websocket_lovelace_config(hass, connection, msg):
if error is not None:
message = websocket_api.error_message(msg['id'], *error)
connection.send_message_outside(message)
connection.send_message(message)