Skip to content

Commit

Permalink
Ensure powerwall config flow title_placeholders items are [str, str] (h…
Browse files Browse the repository at this point in the history
  • Loading branch information
emontnemery authored Oct 1, 2024
1 parent a5135cf commit ee8f4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/powerwall/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ async def async_step_confirm_discovery(
) -> ConfigFlowResult:
"""Confirm a discovered powerwall."""
assert self.ip_address is not None
assert self.title is not None
assert self.unique_id is not None
if user_input is not None:
assert self.title is not None
return self.async_create_entry(
title=self.title,
data={
Expand Down

0 comments on commit ee8f4a5

Please sign in to comment.