File tree Expand file tree Collapse file tree
src/panels/config/repairs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -203,9 +203,28 @@ export const showRepairsFlowDialog = (
203203 return "" ;
204204 } ,
205205
206- renderCreateEntryDescription ( hass , _step ) {
206+ renderCreateEntryDescription ( hass , step ) {
207+ const description = hass . localize (
208+ `component.${ issue . domain } .issues.${
209+ issue . translation_key || issue . issue_id
210+ } .fix_flow.create_entry.${ step . description || "default" } `,
211+ step . description_placeholders
212+ ) ;
213+
207214 return html `
208- < p > ${ hass . localize ( "ui.dialogs.repair_flow.success.description" ) } </ p >
215+ ${
216+ description
217+ ? html `
218+ < ha-markdown
219+ allow-svg
220+ breaks
221+ .content =${ description }
222+ > </ ha-markdown >
223+ `
224+ : html `< p >
225+ ${ hass . localize ( "ui.dialogs.repair_flow.success.description" ) }
226+ </ p > `
227+ }
209228 ` ;
210229 } ,
211230
You can’t perform that action at this time.
0 commit comments