power: add missing call to super() for Tasmota devices
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
21d1726bfd
commit
e9ab5fb480
|
@ -377,6 +377,7 @@ class TPLinkSmartPlug(PowerDevice):
|
|||
|
||||
class Tasmota(PowerDevice):
|
||||
def __init__(self, config):
|
||||
super().__init__(config)
|
||||
self.server = config.get_server()
|
||||
self.addr = config.get("address")
|
||||
self.output_id = config.getint("output_id", 1)
|
||||
|
|
Loading…
Reference in New Issue