Skip to content

Commit

Permalink
Fix Homematic IP Cloud remaining light imports (#23339)
Browse files Browse the repository at this point in the history
* Fix missing impor reorg

* Add brackets

* Removed trailing whitespaces
  • Loading branch information
SukramJ authored and MartinHjelmare committed Apr 24, 2019
1 parent 3d04856 commit 2863ac1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions homeassistant/components/homematicip_cloud/light.py
Original file line number Diff line number Diff line change
@@ -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 (
Expand All @@ -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:
Expand Down

0 comments on commit 2863ac1

Please sign in to comment.