We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3312e45 + 071d98b commit 5dd9cd4Copy full SHA for 5dd9cd4
1 file changed
custom_components/stromer/stromer.py
@@ -84,8 +84,8 @@ async def stromer_update(self):
84
endpoint = f"bike/{self.bike_id}/position/"
85
self.position = await self.stromer_call_api(endpoint=endpoint, data=data)
86
LOGGER.debug("Stromer position: {}".format(self.position))
87
- break
88
-
+ return
+
89
except Exception as e:
90
LOGGER.error("Stromer error: api call failed: {}".format(e))
91
LOGGER.debug("Stromer retry: {}/10".format(attempts))
0 commit comments