From 166e3a5118e65a8a3fe743dd4773df4785611dc9 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Tue, 31 Oct 2023 17:50:47 +0200 Subject: [PATCH] api: add id in notify msg --- api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api.py b/api.py index 9009019..7615298 100644 --- a/api.py +++ b/api.py @@ -181,6 +181,7 @@ class NotifyData(BaseModel): audio_url: Optional[str] = None backlight: bool = False backlight_max: bool = False + id: int = int(time.time() * 1000) repeat: int = 1 strobe_period_ms: Optional[int] = 0 text: Optional[str] = None