diff --git a/homeassistant/components/light/wink.py b/homeassistant/components/light/wink.py index dde7c616722..7b99b1882ae 100644 --- a/homeassistant/components/light/wink.py +++ b/homeassistant/components/light/wink.py @@ -14,6 +14,7 @@ from homeassistant.const import CONF_ACCESS_TOKEN REQUIREMENTS = ['python-wink==0.3.1'] + def setup_platform(hass, config, add_devices_callback, discovery_info=None): """ Find and return Wink lights. """ import pywink diff --git a/homeassistant/components/lock/wink.py b/homeassistant/components/lock/wink.py index 137684c398b..bbf4ef04f64 100644 --- a/homeassistant/components/lock/wink.py +++ b/homeassistant/components/lock/wink.py @@ -13,6 +13,7 @@ from homeassistant.const import CONF_ACCESS_TOKEN REQUIREMENTS = ['python-wink==0.3.1'] + def setup_platform(hass, config, add_devices, discovery_info=None): """ Sets up the Wink platform. """ import pywink diff --git a/homeassistant/components/switch/wink.py b/homeassistant/components/switch/wink.py index bad1258ea6e..e64245c430d 100644 --- a/homeassistant/components/switch/wink.py +++ b/homeassistant/components/switch/wink.py @@ -13,6 +13,7 @@ from homeassistant.const import CONF_ACCESS_TOKEN REQUIREMENTS = ['python-wink==0.3.1'] + def setup_platform(hass, config, add_devices, discovery_info=None): """ Sets up the Wink platform. """ import pywink