-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Some times I got KeyError problem. Chatgps suggest:
@property def auto_shut_off_time_limit(self): return self._device_information["auto_shut_off_time_limit"]
to
@property def auto_shut_off_time_limit(self): return self._device_information.get("auto_shut_off_time_limit")
and this works for me. Can we change for all property?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels