Update docstrings (#7361)
* Update docstrings * Update docstrings * Update docstrings * Update docstrings * update docstrings * Update docstrings * Update docstrings * Update docstrings * Update docstrings * Update docstrings * Update tomato.py * Update isy994.py * Lint + fix tests * Lint
This commit is contained in:
parent
e22e70a01a
commit
3ee4d1060f
264 changed files with 1686 additions and 1768 deletions
|
@ -120,7 +120,7 @@ def setup(hass, config):
|
|||
|
||||
def pull_new_devices(call):
|
||||
"""Pull new devices added to users Wink account since startup."""
|
||||
_LOGGER.info("Getting new devices from Wink API.")
|
||||
_LOGGER.info("Getting new devices from Wink API")
|
||||
for component in WINK_COMPONENTS:
|
||||
discovery.load_platform(hass, component, DOMAIN, {}, config)
|
||||
hass.services.register(DOMAIN, 'Add new devices', pull_new_devices)
|
||||
|
@ -166,7 +166,7 @@ class WinkDevice(Entity):
|
|||
|
||||
@property
|
||||
def available(self):
|
||||
"""True if connection == True."""
|
||||
"""Return true if connection == True."""
|
||||
return self.wink.available()
|
||||
|
||||
def update(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue