pylint 2.3.0 (#21485)

* pylint 2.3.0

* remove const

*  disable=syntax-error
This commit is contained in:
Daniel Høyer Iversen authored and David F. Mulcahey committed 2019-02-27 16:10:40 -05:00
1 parent 2482816a11
commit 519315f9c8
26 files changed
+47 -57

No files matched your search

@@ -34,10 +34,10 @@ def setup_platform(hass, config, add_entities, discovery_info=None) -> None:
name = config.get(CONF_NAME)
mac_addr = config[CONF_MAC]
flip_on_off = config[CONF_FLIP_ON_OFF]
add_entities([Switchmate(mac_addr, name, flip_on_off)], True)
add_entities([SwitchmateEntity(mac_addr, name, flip_on_off)], True)
class Switchmate(SwitchDevice):
class SwitchmateEntity(SwitchDevice):
"""Representation of a Switchmate."""
def __init__(self, mac, name, flip_on_off) -> None: