mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Move imports in bom component (#27854)
This commit is contained in:
parent
9392cbff03
commit
03cc7f377b
@ -1,4 +1,5 @@
|
|||||||
"""Provide animated GIF loops of BOM radar imagery."""
|
"""Provide animated GIF loops of BOM radar imagery."""
|
||||||
|
from bomradarloop import BOMRadarLoop
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.components.camera import PLATFORM_SCHEMA, Camera
|
from homeassistant.components.camera import PLATFORM_SCHEMA, Camera
|
||||||
@ -119,7 +120,6 @@ class BOMRadarCam(Camera):
|
|||||||
|
|
||||||
def __init__(self, name, location, radar_id, delta, frames, outfile):
|
def __init__(self, name, location, radar_id, delta, frames, outfile):
|
||||||
"""Initialize the component."""
|
"""Initialize the component."""
|
||||||
from bomradarloop import BOMRadarLoop
|
|
||||||
|
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self._name = name
|
self._name = name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user