Include required name in reauth_confirm of Opower (#119627)
This commit is contained in:
parent
db826c9727
commit
b931c3ffcf
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@ from opower import (
|
|||
import voluptuous as vol
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry, ConfigFlow, ConfigFlowResult
|
||||
from homeassistant.const import CONF_PASSWORD, CONF_USERNAME
|
||||
from homeassistant.const import CONF_NAME, CONF_PASSWORD, CONF_USERNAME
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
from homeassistant.helpers.aiohttp_client import async_create_clientsession
|
||||
|
||||
|
@ -161,4 +161,5 @@ class OpowerConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||
step_id="reauth_confirm",
|
||||
data_schema=vol.Schema(schema),
|
||||
errors=errors,
|
||||
description_placeholders={CONF_NAME: self.reauth_entry.title},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue