mschlenstedt / LoxBerry-Plugin-TinyTuya

Apache License 2.0
1 stars 1 forks source link

Modify "MQTT polling time" broken #3

Closed Noschvie closed 1 year ago

Noschvie commented 1 year ago

Beim Ändern und Speichern der MQTT Polling Time scheint es ein Problem mit dem Datentyp zu geben.

Traceback (most recent call last):
File "/opt/loxberry/data/plugins/tinytuya/server/mqtt/mqtt_gateway.py", line 205, in
if last + mqttconfig['pollingtime'] < now:
TypeError: unsupported operand type(s) for +: 'int' and 'str'
mschlenstedt commented 1 year ago

Fixed