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 2019-12-08 12:19:15 +01:00 committed by Paulus Schoutsen
parent 21cf6777bb
commit 6de8072e8a
10 changed files with 23 additions and 28 deletions

View file

@ -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