mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Ensure powerwall config flow title_placeholders items are [str, str] (#127205)
This commit is contained in:
parent
a5135cf2c3
commit
ee8f4a5367
@ -188,9 +188,9 @@ class PowerwallConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||||||
) -> ConfigFlowResult:
|
) -> ConfigFlowResult:
|
||||||
"""Confirm a discovered powerwall."""
|
"""Confirm a discovered powerwall."""
|
||||||
assert self.ip_address is not None
|
assert self.ip_address is not None
|
||||||
|
assert self.title is not None
|
||||||
assert self.unique_id is not None
|
assert self.unique_id is not None
|
||||||
if user_input is not None:
|
if user_input is not None:
|
||||||
assert self.title is not None
|
|
||||||
return self.async_create_entry(
|
return self.async_create_entry(
|
||||||
title=self.title,
|
title=self.title,
|
||||||
data={
|
data={
|
||||||
|
Loading…
x
Reference in New Issue
Block a user