decrease modbus timeout

This commit is contained in:
Franzi 2024-08-05 10:11:27 +02:00
parent b35b19a007
commit c02c770776
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -21,7 +21,7 @@ class SDM630_MQTT:
port=config["modbus"]["port"],
unit_id=config["modbus"]["unit_id"],
)
self.modbus.timeout = 10
self.modbus.timeout = 1
self.mqtt = mqtt.Client()
self.mqtt_host = config["mqtt"]["host"]