From f34af6dae38ef1b67614235ae5173842d2346002 Mon Sep 17 00:00:00 2001 From: jerick Date: Mon, 28 Nov 2022 15:52:37 -0500 Subject: [PATCH] Create function --- mqtt/tempTest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mqtt/tempTest.py b/mqtt/tempTest.py index 97360ef..e57c21d 100644 --- a/mqtt/tempTest.py +++ b/mqtt/tempTest.py @@ -22,4 +22,6 @@ def getValues(sensor): except Exception as error: sensor.exit() raise error - return temp, humidity \ No newline at end of file + return temp, humidity + +getValues() \ No newline at end of file