diff --git a/api.py b/api.py index 7340f3f..95af513 100644 --- a/api.py +++ b/api.py @@ -69,6 +69,7 @@ class VorwerkState: self.robot_state = {} self.robot_info = {} + @property def available(self) -> bool: """Return true when robot state is available.""" return bool(self.robot_state)