File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
homeassistant/components/withings Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 10
10
11
11
from homeassistant .components .webhook import async_generate_id
12
12
from homeassistant .config_entries import ConfigEntry , ConfigFlowResult
13
- from homeassistant .const import CONF_TOKEN , CONF_WEBHOOK_ID
13
+ from homeassistant .const import CONF_NAME , CONF_TOKEN , CONF_WEBHOOK_ID
14
14
from homeassistant .helpers import config_entry_oauth2_flow
15
15
16
16
from .const import DEFAULT_TITLE , DOMAIN
@@ -52,7 +52,11 @@ async def async_step_reauth_confirm(
52
52
) -> ConfigFlowResult :
53
53
"""Confirm reauth dialog."""
54
54
if user_input is None :
55
- return self .async_show_form (step_id = "reauth_confirm" )
55
+ assert self .reauth_entry
56
+ return self .async_show_form (
57
+ step_id = "reauth_confirm" ,
58
+ description_placeholders = {CONF_NAME : self .reauth_entry .title },
59
+ )
56
60
return await self .async_step_user ()
57
61
58
62
async def async_oauth_create_entry (self , data : dict [str , Any ]) -> ConfigFlowResult :
You can’t perform that action at this time.
0 commit comments