Add link to docs

This commit is contained in:
Fabian Affolter 2015-10-21 10:47:31 +02:00
parent 9162149598
commit 7ec1424825

View File

@ -1,8 +1,10 @@
"""
homeassistant.components.switch.wink
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Support for Wink switches.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/switch.wink.html
"""
import logging
@ -23,8 +25,8 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
if token is None:
logging.getLogger(__name__).error(
"Missing wink access_token - "
"get one at https://winkbearertoken.appspot.com/")
"Missing wink access_token. "
"Get one at https://winkbearertoken.appspot.com/")
return
pywink.set_bearer_token(token)