Skip to content

Commit

Permalink
Upstream change for config_flow
Browse files Browse the repository at this point in the history
Bumped to boschshcpy==0.2.95
  • Loading branch information
tschamm committed Oct 3, 2024
1 parent 4a4017e commit 8c255be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions custom_components/bosch_shc/config_flow.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Config flow for Bosch Smart Home Controller integration."""

from os import makedirs

import voluptuous as vol
Expand Down Expand Up @@ -159,12 +160,10 @@ async def async_step_credentials(self, user_input=None):
}
existing_entry = await self.async_set_unique_id(self.info["unique_id"])
if existing_entry:
self.hass.config_entries.async_update_entry(
return self.async_update_reload_and_abort(
existing_entry,
data=entry_data,
)
await self.hass.config_entries.async_reload(existing_entry.entry_id)
return self.async_abort(reason="reauth_successful")

return self.async_create_entry(
title=self.info["title"],
Expand Down
4 changes: 2 additions & 2 deletions custom_components/bosch_shc/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"documentation": "https://github.com/tschamm/boschshc-hass/blob/master/README.md",
"iot_class": "local_push",
"issue_tracker": "https://github.com/tschamm/boschshc-hass/issues",
"requirements": ["boschshcpy==0.2.94"],
"version": "0.4.90",
"requirements": ["boschshcpy==0.2.95"],
"version": "0.4.91",
"zeroconf": [{ "type": "_http._tcp.local.", "name": "bosch shc*" }]
}

0 comments on commit 8c255be

Please sign in to comment.