Update rtl2mqtt.py
https://github.com/mverleun/RTL433-to-mqtt/issues/12#issue-856686813
This commit is contained in:
@@ -98,5 +98,5 @@ while True:
|
||||
|
||||
for item in json_dict:
|
||||
value = json_dict[item]
|
||||
if not "model" in item:
|
||||
if (not "model" in item) and (type(value) is not list):
|
||||
mqttc.publish(MQTT_TOPIC+"/"+subtopic+"/"+item, payload=value, qos=MQTT_QOS, retain=True)
|
||||
|
||||
Reference in New Issue
Block a user