From d469a62d742f509aff24c5e709fc25ef0055d556 Mon Sep 17 00:00:00 2001 From: Michael Graf Date: Tue, 27 Apr 2021 11:12:01 +0200 Subject: [PATCH] Add missing decorator --- api.py | 1 + 1 file changed, 1 insertion(+) 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)