mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Hopefully last fixes for flake8
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
|
"""Support for the Elgato Avea lights."""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from homeassistant.components.light import ATTR_BRIGHTNESS, ATTR_HS_COLOR, SUPPORT_BRIGHTNESS, SUPPORT_COLOR, Light
|
from homeassistant.components.light import (
|
||||||
|
ATTR_BRIGHTNESS, ATTR_HS_COLOR, SUPPORT_BRIGHTNESS,
|
||||||
|
SUPPORT_COLOR, Light)
|
||||||
import homeassistant.util.color as color_util
|
import homeassistant.util.color as color_util
|
||||||
|
|
||||||
|
|
||||||
@@ -10,7 +13,7 @@ SUPPORT_AVEA = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR)
|
|||||||
|
|
||||||
|
|
||||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
"""Setup the Avea platform."""
|
"""Set up the Avea platform."""
|
||||||
import avea
|
import avea
|
||||||
|
|
||||||
nearbyBulbs = avea.discover_avea_bulbs()
|
nearbyBulbs = avea.discover_avea_bulbs()
|
||||||
|
Reference in New Issue
Block a user