mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add link to docs
This commit is contained in:
parent
da31b54d06
commit
9162149598
@ -4,7 +4,7 @@ homeassistant.components.sensor.wink
|
||||
Support for Wink sensors.
|
||||
|
||||
For more details about the wink component, please refer to the documentation
|
||||
at https://home-assistant.io/components/wink.html
|
||||
at https://home-assistant.io/components/sensor.wink.html
|
||||
"""
|
||||
import logging
|
||||
|
||||
@ -25,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)
|
||||
@ -35,7 +35,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
|
||||
|
||||
class WinkSensorDevice(Entity):
|
||||
""" Represents a wink sensor. """
|
||||
""" Represents a Wink sensor. """
|
||||
|
||||
def __init__(self, wink):
|
||||
self.wink = wink
|
||||
|
Loading…
x
Reference in New Issue
Block a user