Skip to content

Commit

Permalink
Corrected error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
pink88 committed Jan 20, 2025
1 parent a664a46 commit 78513c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/tuiss2ha/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ async def stop(self) -> None:
self._is_stopping = False
except:
_LOGGER.debug("%s: Stop failed.", self.name)
raise RuntimeError("Unable to STOP. %s has lost connection. Check %s is powered and within bluetooth range",self.name,self.name)
raise RuntimeError("Unable to STOP as connection to your blind has been lost. Check has enough battery and within bluetooth range")



Expand Down Expand Up @@ -314,7 +314,7 @@ async def send_command(self, UUID, command):
await self._client.write_gatt_char(UUID, command)
except Exception as e:
_LOGGER.error("%s: Send Command error: %s", self.name, e)
raise RuntimeError("Unable to send the command to %s.%s",self.name, e)
raise RuntimeError(e)



Expand Down

0 comments on commit 78513c7

Please sign in to comment.