Skip to content

Commit

Permalink
Small edits
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkhamLee committed Apr 4, 2024
1 parent 232c40f commit 670e2bd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions case_temps/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,13 @@ def get_temps(client: object, TOPIC: object,
continue

payload = {
"ct": temp_interior,
"et": temp_exhaust,
"it": temp_intake,
"hf": heating_factor
"ct": temp_interior,
"et": temp_exhaust,
"it": temp_intake,
"hf": heating_factor
}

payload = json.dumps(payload)
print(payload)

try:
result = client.publish(TOPIC, payload)
Expand Down

0 comments on commit 670e2bd

Please sign in to comment.