Skip to content

Commit

Permalink
Code spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
CoMPaTech committed Jun 3, 2024
1 parent 45499f5 commit 6eeb3e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/stromer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
# Initialize connection to stromer
stromer = Stromer(username, password, client_id, client_secret)
try:
stromer.bike_id = entry.data["bike_id"]
stromer.bike_id = entry.data["bike_id"]
stromer.bike_name = entry.data["nickname"]
stromer.bike_model = entry.data["model"]
stromer.bike_model = entry.data["model"]
await stromer.stromer_connect()
except ApiError as ex:
raise ConfigEntryNotReady("Error while communicating to Stromer API") from ex
Expand Down

0 comments on commit 6eeb3e9

Please sign in to comment.