fix Mqtt init call for unit tests

This commit is contained in:
Stefan Allius
2025-05-03 22:56:49 +02:00
parent 5c2be5b0c7
commit 0e99551064

View File

@@ -44,7 +44,7 @@ def get_table_data():
@web.route('/mqtt-fetch')
async def mqtt_fetch():
mqtt = Mqtt()
mqtt = Mqtt(None)
ctime = format_datetime(dt=mqtt.ctime, format='short')
data = {
"update-time": format_datetime(format="medium"),