Skip to content

Commit

Permalink
Merge pull request #101 from geertmeersman/dev-current
Browse files Browse the repository at this point in the history
fix: improve reset mower blades async command return data
  • Loading branch information
geertmeersman authored Jul 26, 2024
2 parents 1b30953 + 68860b8 commit fba207d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiorobonect/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def create_url(scheme):
if response and response.status_code == 200:
if command == "reset_blades":
await self.client_close()
return {command: True}
return {"successful": True}
result_text = response.text
_LOGGER.debug(f"Rest API call result for {command}: {result_text}")
try:
Expand Down Expand Up @@ -205,4 +205,4 @@ def is_sleeping(self) -> int:
async def async_reset_blades(self) -> bool:
"""Reset the mower blades."""
result = await self.async_cmd("reset_blades")
return {"reset_blades": result}
return {"successful": result}

0 comments on commit fba207d

Please sign in to comment.