summaryrefslogtreecommitdiff
path: root/smart_home/outlets.py
diff options
context:
space:
mode:
Diffstat (limited to 'smart_home/outlets.py')
-rw-r--r--smart_home/outlets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/smart_home/outlets.py b/smart_home/outlets.py
index 500ea05..a7f6f47 100644
--- a/smart_home/outlets.py
+++ b/smart_home/outlets.py
@@ -155,6 +155,7 @@ class TPLinkOutletWithChildren(TPLinkOutlet):
self.children: List[str] = []
self.info: Optional[Dict] = None
self.info_ts: Optional[datetime.datetime] = None
+ assert self.keywords is not None
assert "children" in self.keywords
self.info = self.get_info()
if self.info is not None: