mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add link to docs
This commit is contained in:
parent
9162149598
commit
7ec1424825
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user