Improve description in Workday config flow (#94945)

This commit is contained in:
G Johansson 2023-06-21 11:17:36 +02:00 committed by GitHub
parent 60b78f4648
commit aec946e93a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -220,7 +220,10 @@ class WorkdayConfigFlow(ConfigFlow, domain=DOMAIN):
step_id="options",
data_schema=new_schema,
errors=errors,
description_placeholders={"name": self.data[CONF_NAME]},
description_placeholders={
"name": self.data[CONF_NAME],
"country": self.data[CONF_COUNTRY],
},
)
@ -277,6 +280,10 @@ class WorkdayOptionsFlowHandler(OptionsFlowWithConfigEntry):
step_id="init",
data_schema=new_schema,
errors=errors,
description_placeholders={
"name": self.options[CONF_NAME],
"country": self.options[CONF_COUNTRY],
},
)