We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7050b5a commit f6c3155Copy full SHA for f6c3155
1 file changed
custom_components/stromer/stromer.py
@@ -203,7 +203,7 @@ async def stromer_reset_trip_data(self) -> None:
203
204
headers = {"Authorization": f"Bearer {self._token}"}
205
res = await self._websession.delete(url, headers=headers)
206
- if ret.status != 204:
+ if res.status != 204:
207
raise ApiError
208
209
async def stromer_call_api(self, endpoint: str) -> Any:
0 commit comments