Fix Homematic IP Cloud remaining light imports (#23339)

* Fix missing impor reorg

* Add brackets

* Removed trailing whitespaces
pull/23350/head
Markus Jankowski 2019-04-24 13:27:45 +02:00 committed by Martin Hjelmare
parent 3d04856cbd
commit 2863ac1068
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,10 @@
"""Support for HomematicIP Cloud lights."""
import logging
from homematicip.aio.device import (
AsyncBrandSwitchMeasuring, AsyncDimmer, AsyncPluggableDimmer,
AsyncBrandDimmer, AsyncFullFlushDimmer,
AsyncBrandSwitchNotificationLight)
from homematicip.base.enums import RGBColorState
from homeassistant.components.light import (
@ -23,10 +27,6 @@ async def async_setup_platform(
async def async_setup_entry(hass, config_entry, async_add_entities):
"""Set up the HomematicIP Cloud lights from a config entry."""
from homematicip.aio.device import AsyncBrandSwitchMeasuring, AsyncDimmer,\
AsyncPluggableDimmer, AsyncBrandDimmer, AsyncFullFlushDimmer,\
AsyncBrandSwitchNotificationLight
home = hass.data[HMIPC_DOMAIN][config_entry.data[HMIPC_HAPID]].home
devices = []
for device in home.devices: