Skip to content

Commit

Permalink
Update thermostat_api_server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aneisch authored May 7, 2024
1 parent 45fd860 commit 42247fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thermostat_api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ def do_POST(self):
self.send_empty_200()

elif "/equipment_events" in final_locator:
# Fix for some newer firmware versions
if "active" in received_message and received_message['active'] == "on":
state = f"{received_message['localtime'][1:]}: {received_message['description']}"
else:
Expand Down

0 comments on commit 42247fb

Please sign in to comment.