Skip to content

Commit f6c3155

Browse files
authored
Typo
1 parent 7050b5a commit f6c3155

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

custom_components/stromer/stromer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ async def stromer_reset_trip_data(self) -> None:
203203

204204
headers = {"Authorization": f"Bearer {self._token}"}
205205
res = await self._websession.delete(url, headers=headers)
206-
if ret.status != 204:
206+
if res.status != 204:
207207
raise ApiError
208208

209209
async def stromer_call_api(self, endpoint: str) -> Any:

0 commit comments

Comments
 (0)