We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d83c026 commit c133cd6Copy full SHA for c133cd6
tests/test_init.py
@@ -552,7 +552,8 @@ async def device_test(
552
self.cooling_present = False
553
if "cooling_present" in data.gateway:
554
self.cooling_present = data.gateway["cooling_present"]
555
- self.notifications = data.gateway["notifications"]
+ if "notifications" in data.gateway:
556
+ self.notifications = data.gateway["notifications"]
557
self.device_items = data.gateway["item_count"]
558
559
self._cooling_active = False
0 commit comments