Remove pylint disable (#2785)
This commit is contained in:
parent
eea7824a7e
commit
e06ff95107
1 changed files with 2 additions and 5 deletions
|
@ -4,8 +4,6 @@ Support for the LIFX platform that implements lights.
|
||||||
For more details about this platform, please refer to the documentation at
|
For more details about this platform, please refer to the documentation at
|
||||||
https://home-assistant.io/components/light.lifx/
|
https://home-assistant.io/components/light.lifx/
|
||||||
"""
|
"""
|
||||||
# pylint: disable=missing-docstring
|
|
||||||
|
|
||||||
import colorsys
|
import colorsys
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
@ -16,7 +14,6 @@ from homeassistant.helpers.event import track_time_change
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
REQUIREMENTS = ['liffylights==0.9.4']
|
REQUIREMENTS = ['liffylights==0.9.4']
|
||||||
DEPENDENCIES = []
|
|
||||||
|
|
||||||
CONF_SERVER = "server" # server address configuration item
|
CONF_SERVER = "server" # server address configuration item
|
||||||
CONF_BROADCAST = "broadcast" # broadcast address configuration item
|
CONF_BROADCAST = "broadcast" # broadcast address configuration item
|
||||||
|
@ -94,11 +91,11 @@ class LIFX():
|
||||||
|
|
||||||
# pylint: disable=unused-argument
|
# pylint: disable=unused-argument
|
||||||
def poll(self, now):
|
def poll(self, now):
|
||||||
"""Initialize the light."""
|
"""Polling for the light."""
|
||||||
self.probe()
|
self.probe()
|
||||||
|
|
||||||
def probe(self, address=None):
|
def probe(self, address=None):
|
||||||
"""Initialize the light."""
|
"""Probe the light."""
|
||||||
self._liffylights.probe(address)
|
self._liffylights.probe(address)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue