Move imports to top for websocket_api (#29556)

* Move imports to top for websocket_api

* Move back an import because of circular dependency, add annotations
This commit is contained in:
springstan authored and Paulus Schoutsen committed 2019-12-08 12:19:15 +01:00
1 parent 21cf6777bb
commit 6de8072e8a
10 files changed
+23 -28

No files matched your search

@@ -4,12 +4,11 @@ from homeassistant.core import callback
from homeassistant.helpers.entity import Entity
from .const import (
DATA_CONNECTIONS,
SIGNAL_WEBSOCKET_CONNECTED,
SIGNAL_WEBSOCKET_DISCONNECTED,
DATA_CONNECTIONS,
)
# mypy: allow-untyped-calls, allow-untyped-defs, no-check-untyped-defs