summaryrefslogtreecommitdiff
path: root/tools/mcuota.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mcuota.py')
-rwxr-xr-xtools/mcuota.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mcuota.py b/tools/mcuota.py
index 8d47c8c..75adf1b 100755
--- a/tools/mcuota.py
+++ b/tools/mcuota.py
@@ -34,7 +34,7 @@ def relayctl_publish_ota(filename: str,
global stop
stop = True
- mqtt_relay = MQTTRelay(devices=MQTTRelayDevice(home_id=home_id, secret=home_secret))
+ mqtt_relay = MQTTRelay(devices=MQTTRelayDevice(id=home_id, secret=home_secret))
mqtt_relay.configure_tls()
mqtt_relay.connect_and_loop(loop_forever=False)
mqtt_relay.push_ota(home_id, filename, published, qos)