Fix PEP257 issues
This commit is contained in:
parent
f6bc1a4575
commit
7e8e91ef3c
19 changed files with 234 additions and 274 deletions
|
@ -1,7 +1,5 @@
|
|||
"""
|
||||
homeassistant.components.light.zigbee
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Contains functionality to use a ZigBee device as a light.
|
||||
Functionality to use a ZigBee device as a light.
|
||||
|
||||
For more details about this platform, please refer to the documentation at
|
||||
https://home-assistant.io/components/light.zigbee/
|
||||
|
@ -14,15 +12,13 @@ DEPENDENCIES = ["zigbee"]
|
|||
|
||||
|
||||
def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
""" Create and add an entity based on the configuration. """
|
||||
"""Create and add an entity based on the configuration."""
|
||||
add_entities([
|
||||
ZigBeeLight(hass, ZigBeeDigitalOutConfig(config))
|
||||
])
|
||||
|
||||
|
||||
class ZigBeeLight(ZigBeeDigitalOut, Light):
|
||||
"""
|
||||
Use multiple inheritance to turn an instance of ZigBeeDigitalOut into a
|
||||
Light.
|
||||
"""
|
||||
"""Use ZigBeeDigitalOut as light."""
|
||||
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue