From 2863ac1068c9e64be87462ff2499a008be0914ad Mon Sep 17 00:00:00 2001 From: Markus Jankowski Date: Wed, 24 Apr 2019 13:27:45 +0200 Subject: [PATCH] Fix Homematic IP Cloud remaining light imports (#23339) * Fix missing impor reorg * Add brackets * Removed trailing whitespaces --- homeassistant/components/homematicip_cloud/light.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/homematicip_cloud/light.py b/homeassistant/components/homematicip_cloud/light.py index e783214a44760..f4f73104f7c08 100644 --- a/homeassistant/components/homematicip_cloud/light.py +++ b/homeassistant/components/homematicip_cloud/light.py @@ -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: