mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Update docstrings
This commit is contained in:
parent
57446cfb08
commit
19d12716ef
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user