File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ async def start(self) -> None:
93
93
return await self .resume ()
94
94
95
95
# TODO: we need to create settings for clean_modes
96
- return self .call (
96
+ return await self .call (
97
97
"setSwitchClean" ,
98
98
{
99
99
"clean_mode" : 0 ,
@@ -113,15 +113,15 @@ async def resume(self):
113
113
114
114
async def set_pause (self , enabled : bool ) -> None :
115
115
"""Pause or resume cleaning."""
116
- return self .call ("setRobotPause" , {"pause" : enabled })
116
+ return await self .call ("setRobotPause" , {"pause" : enabled })
117
117
118
118
async def return_home (self ):
119
119
"""Return home."""
120
120
return await self .set_return_home (True )
121
121
122
122
async def set_return_home (self , enabled : bool ) -> None :
123
123
"""Return home / pause returning."""
124
- return self .call ("setSwitchCharge" , {"switch_charge" : enabled })
124
+ return await self .call ("setSwitchCharge" , {"switch_charge" : enabled })
125
125
126
126
@property
127
127
def status (self ) -> Status :
You can’t perform that action at this time.
0 commit comments