Add missing decorator
This commit is contained in:
parent
4aa49b9300
commit
d469a62d74
1
api.py
1
api.py
@ -69,6 +69,7 @@ class VorwerkState:
|
|||||||
self.robot_state = {}
|
self.robot_state = {}
|
||||||
self.robot_info = {}
|
self.robot_info = {}
|
||||||
|
|
||||||
|
@property
|
||||||
def available(self) -> bool:
|
def available(self) -> bool:
|
||||||
"""Return true when robot state is available."""
|
"""Return true when robot state is available."""
|
||||||
return bool(self.robot_state)
|
return bool(self.robot_state)
|
||||||
|
Loading…
Reference in New Issue
Block a user