Skip to content

Commit

Permalink
Merge branch 'marq24:feature/eController' into feature/eController
Browse files Browse the repository at this point in the history
  • Loading branch information
s3ppo authored Oct 20, 2024
2 parents c0ab230 + b0d12b7 commit efee0f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/goecharger_api2/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ async def async_step_user_lan(self, user_input=None):
return await self._update_options()

# is this the 11kW or the 22kW Version?
if int(self.options.get(CONF_MODEL)) == 11:
if self.options.get(CONF_INTEGRATION_TYPE, INTG_TYPE.CHARGER.value) == INTG_TYPE.CONTROLLER.value or int(self.options.get(CONF_MODEL)) == 11:
return self.async_show_form(
step_id=step_type,
data_schema=vol.Schema({
Expand All @@ -247,7 +247,7 @@ async def async_step_user_wan(self, user_input=None):
return await self._update_options()

# is this the 11kW or the 22kW Version?
if int(self.options.get(CONF_MODEL)) == 11:
if self.options.get(CONF_INTEGRATION_TYPE, INTG_TYPE.CHARGER.value) == INTG_TYPE.CONTROLLER.value or int(self.options.get(CONF_MODEL)) == 11:
return self.async_show_form(
step_id=step_type,
data_schema=vol.Schema({
Expand Down

0 comments on commit efee0f3

Please sign in to comment.