mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Move imports to top for emulated_hue (#29488)
This commit is contained in:
parent
f5550509d4
commit
8647ba3dd5
@ -1,6 +1,8 @@
|
||||
"""Bridge between emulated_roku and Home Assistant."""
|
||||
import logging
|
||||
|
||||
from emulated_roku import EmulatedRokuCommandHandler, EmulatedRokuServer
|
||||
|
||||
from homeassistant.const import EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP
|
||||
from homeassistant.core import CoreState, EventOrigin
|
||||
|
||||
@ -51,7 +53,6 @@ class EmulatedRoku:
|
||||
|
||||
async def setup(self):
|
||||
"""Start the emulated_roku server."""
|
||||
from emulated_roku import EmulatedRokuServer, EmulatedRokuCommandHandler
|
||||
|
||||
class EventCommandHandler(EmulatedRokuCommandHandler):
|
||||
"""emulated_roku command handler to turn commands into events."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user