update
This commit is contained in:
parent
a9a650edb6
commit
fd7808e6f4
1 changed files with 2 additions and 1 deletions
|
@ -91,6 +91,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
|||
config.get('optimistic', DEFAULT_OPTIMISTIC))])
|
||||
|
||||
|
||||
#pylint: disable-msg=too-many-arguments
|
||||
class MqttSwitch(SwitchDevice):
|
||||
""" Represents a switch that can be togggled using MQTT """
|
||||
def __init__(self, hass, name, state_topic, command_topic,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue