Skip to content

Commit 7e94afa

Browse files
committed
Satisfy sonar
1 parent 7a05c04 commit 7e94afa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

custom_components/stromer/stromer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ async def stromer_call_lock(self, state):
158158
headers = {"Authorization": f"Bearer {self._token}"}
159159
res = await self._websession.get(url, headers=headers, json=data)
160160
ret = json.loads(await res.text())
161-
LOGGER.debug("API call status: %s" % res.status)
162-
LOGGER.debug("API call returns: %s" % ret)
161+
LOGGER.debug("API call lock status: %s" % res.status)
162+
LOGGER.debug("API call lock returns: %s" % ret)
163163

164164
async def stromer_call_light(self, state):
165165
endpoint = f"bike/{self.bike_id}/light/"
@@ -171,8 +171,8 @@ async def stromer_call_light(self, state):
171171
headers = {"Authorization": f"Bearer {self._token}"}
172172
res = await self._websession.get(url, headers=headers, json=data)
173173
ret = json.loads(await res.text())
174-
LOGGER.debug("API call status: %s" % res.status)
175-
LOGGER.debug("API call returns: %s" % ret)
174+
LOGGER.debug("API call light status: %s" % res.status)
175+
LOGGER.debug("API call light returns: %s" % ret)
176176

177177
async def stromer_call_api(self, endpoint):
178178
url = f"{self.base_url}/rapi/mobile/v4.1/{endpoint}"

0 commit comments

Comments
 (0)