diff options
| author | Scott Gasch <[email protected]> | 2022-02-10 13:36:58 -0800 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2022-02-10 13:36:58 -0800 |
| commit | cce8d58af187c0a7fb7585eab5bda9fed731b719 (patch) | |
| tree | 86dfec4e47efd93a5ea72a383fe02f1b23dc8a44 /smart_home/outlets.py | |
| parent | 14b42faebd598dc14cec6eaef77f06845e500b4b (diff) | |
More cleanup.
Diffstat (limited to 'smart_home/outlets.py')
| -rw-r--r-- | smart_home/outlets.py | 1 |
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: |
