mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +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:
|
||||
"""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={
|
||||
|
Loading…
x
Reference in New Issue
Block a user