Skip to content

Commit

Permalink
fix: qodana issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Dec 26, 2024
1 parent 6faa47c commit 41e988e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/powercalc/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1463,8 +1463,8 @@ async def async_step_group_tracked_untracked(self, user_input: dict[str, Any] |
if user_input is not None:
user_input[CONF_NAME] = "Tracked / Untracked"

async def _next_step(user_input: dict[str, Any]) -> Step | None:
if not bool(user_input.get(CONF_GROUP_TRACKED_AUTO, True)):
async def _next_step(user_data: dict[str, Any]) -> Step | None:
if not bool(user_data.get(CONF_GROUP_TRACKED_AUTO, True)):
return Step.GROUP_TRACKED_UNTRACKED_MANUAL
return None

Expand Down

0 comments on commit 41e988e

Please sign in to comment.