mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
fix pylint warnings
This commit is contained in:
parent
c194121da6
commit
930036272b
@ -90,6 +90,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
|||||||
hass.bus.listen_once(EVENT_HOMEASSISTANT_START, prepare_gpio)
|
hass.bus.listen_once(EVENT_HOMEASSISTANT_START, prepare_gpio)
|
||||||
|
|
||||||
|
|
||||||
|
# pylint: disable=too-many-arguments, too-many-instance-attributes
|
||||||
class RPiGPIOSensor(Entity):
|
class RPiGPIOSensor(Entity):
|
||||||
""" Sets up the Raspberry PI GPIO ports. """
|
""" Sets up the Raspberry PI GPIO ports. """
|
||||||
def __init__(self, port_name, port_num, pull_mode,
|
def __init__(self, port_name, port_num, pull_mode,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user