From 42247fb28e7cbe27cd9ef5013e032bc8bbb1348a Mon Sep 17 00:00:00 2001 From: Andrew <6991461+aneisch@users.noreply.github.com> Date: Tue, 7 May 2024 14:00:02 -0500 Subject: [PATCH] Update thermostat_api_server.py --- thermostat_api_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/thermostat_api_server.py b/thermostat_api_server.py index 100cd4b..50eb63d 100755 --- a/thermostat_api_server.py +++ b/thermostat_api_server.py @@ -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: