Update docstrings

This commit is contained in:
Fabian Affolter 2016-02-12 08:21:39 +01:00
parent 57446cfb08
commit 19d12716ef
3 changed files with 5 additions and 6 deletions

View File

@ -1,12 +1,11 @@
""" """
homeassistant.components.garage_door homeassistant.components.garage_door
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Component to interface with garage doors that can be controlled remotely. Component to interface with garage doors that can be controlled remotely.
For more details about this component, please refer to the documentation For more details about this component, please refer to the documentation
at https://home-assistant.io/components/garage_door/ at https://home-assistant.io/components/garage_door/
""" """
import logging import logging
import os import os
@ -84,7 +83,7 @@ def setup(hass, config):
class GarageDoorDevice(Entity): class GarageDoorDevice(Entity):
""" Represents a garage door within Home Assistant. """ """ Represents a garage door. """
# pylint: disable=no-self-use # pylint: disable=no-self-use
@property @property
@ -102,6 +101,7 @@ class GarageDoorDevice(Entity):
@property @property
def state(self): def state(self):
""" State of the garage door. """
closed = self.is_closed closed = self.is_closed
if closed is None: if closed is None:
return STATE_UNKNOWN return STATE_UNKNOWN

View File

@ -1,7 +1,6 @@
""" """
homeassistant.components.garage_door.demo homeassistant.components.garage_door.demo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Demo platform that has two fake garage doors. Demo platform that has two fake garage doors.
""" """
from homeassistant.components.garage_door import GarageDoorDevice from homeassistant.components.garage_door import GarageDoorDevice

View File

@ -1,6 +1,6 @@
""" """
homeassistant.components.garage_door.wink homeassistant.components.garage_door.wink
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Support for Wink garage doors. Support for Wink garage doors.
For more details about this platform, please refer to the documentation at For more details about this platform, please refer to the documentation at