Skip to content

Commit

Permalink
chore(lint): [pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 5, 2025
1 parent 80ba087 commit 01ce775
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom_components/powercalc/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ async def async_step_assign_groups(self, user_input: dict[str, Any] | None = Non
step=Step.ASSIGN_GROUPS,
schema=schema,
continue_advanced_step=True,
#continue_utility_meter_options_step=True,
# continue_utility_meter_options_step=True,
),
user_input,
)
Expand Down
3 changes: 2 additions & 1 deletion tests/config_flow/test_virtual_power_fixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
create_mock_entry,
goto_virtual_power_strategy_step,
initialize_options_flow,
process_config_flow, select_menu_item,
process_config_flow,
select_menu_item,
set_virtual_power_configuration,
)

Expand Down
5 changes: 3 additions & 2 deletions tests/config_flow/test_virtual_power_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
create_mock_entry,
goto_virtual_power_strategy_step,
initialize_options_flow,
process_config_flow, select_menu_item,
process_config_flow,
select_menu_item,
set_virtual_power_configuration,
)
from tests.conftest import MockEntityWithModel
Expand Down Expand Up @@ -245,7 +246,7 @@ async def test_profile_with_custom_fields(
},
Step.ASSIGN_GROUPS: {},
Step.POWER_ADVANCED: {},
}
},
)

assert result["type"] == data_entry_flow.FlowResultType.CREATE_ENTRY
Expand Down

0 comments on commit 01ce775

Please sign in to comment.