Skip to content

Commit

Permalink
Dont add 30
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-anzola committed Dec 20, 2021
1 parent 74f37b9 commit 5ed2029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_co2():

def get_temperature_humidity():
_humid, _temper = Adafruit_DHT.read_retry(DHTSensor, SENSE_PIN)
return round(_humid, 2) + 30, round(_temper, 2)
return round(_humid, 2), round(_temper, 2)


def send_data(data):
Expand Down

0 comments on commit 5ed2029

Please sign in to comment.