From b39fd35fd169b156cbf71651272fc5a720057cfc Mon Sep 17 00:00:00 2001 From: jerick Date: Mon, 28 Nov 2022 16:02:52 -0500 Subject: [PATCH] testing variable passthrough --- mqtt/tempSensor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mqtt/tempSensor.py b/mqtt/tempSensor.py index 2122458..e780ff5 100644 --- a/mqtt/tempSensor.py +++ b/mqtt/tempSensor.py @@ -95,9 +95,9 @@ def run(sensor): proc.kill() client = connect_mqtt() client.loop_start() + print (sensor) while True: - temp = getValues(sensor) - humidity = getValues(sensor) + temp, humidity = getValues(sensor) publish(client, temp, humidity) #if __name__ == '__main__':