From 0af9ed81b3b4f9725edebd9b21699b598ccf0d73 Mon Sep 17 00:00:00 2001 From: slajob Date: Wed, 13 Mar 2024 18:27:55 +0100 Subject: [PATCH] Room is optional for new SOMRIG shortcut button --- src/dirigera/devices/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dirigera/devices/device.py b/src/dirigera/devices/device.py index 91f9ce9..83481d4 100644 --- a/src/dirigera/devices/device.py +++ b/src/dirigera/devices/device.py @@ -49,7 +49,7 @@ class Device(BaseIkeaModel): last_seen: datetime.datetime attributes: Attributes capabilities: Capabilities - room: Room + room: Optional[Room] = None device_set: List remote_links: List[str] is_hidden: Optional[bool] = None