From 8b2bf56ab5cfc6c2046cc691c14a853fda64fddb Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sat, 24 Dec 2022 11:09:14 -0600 Subject: [PATCH] update HA events --- greendeck/lib/homeassistant/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greendeck/lib/homeassistant/__init__.py b/greendeck/lib/homeassistant/__init__.py index 584e23c..6c014f9 100644 --- a/greendeck/lib/homeassistant/__init__.py +++ b/greendeck/lib/homeassistant/__init__.py @@ -101,7 +101,7 @@ class EventState(BaseModel): class EventData(BaseModel): entity_id: str new_state: EventState - old_state: EventState + old_state: EventState | None class Event(BaseModel):