power: add missing call to super() for Tasmota devices

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2021-01-22 17:16:51 -05:00
parent 21d1726bfd
commit e9ab5fb480
1 changed files with 1 additions and 0 deletions

View File

@ -377,6 +377,7 @@ class TPLinkSmartPlug(PowerDevice):
class Tasmota(PowerDevice): class Tasmota(PowerDevice):
def __init__(self, config): def __init__(self, config):
super().__init__(config)
self.server = config.get_server() self.server = config.get_server()
self.addr = config.get("address") self.addr = config.get("address")
self.output_id = config.getint("output_id", 1) self.output_id = config.getint("output_id", 1)