File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
src/panels/config/automation/automation-save-dialog Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -260,12 +260,14 @@ class DialogAutomationSave extends LitElement implements HassDialog {
260260 .path = ${ mdiClose }
261261 > </ ha- icon- butto n>
262262 <span slot= "title" > ${ this . _params . title || title } </ span>
263- <ha- suggest- with- ai- butto n
264- slot= "actionItems"
265- .hass = ${ this . hass }
266- .generateTask = ${ this . _generateTask }
267- @suggestion = ${ this . _handleSuggestion }
268- > </ ha- suggest- with- ai- butto n>
263+ ${ this . _params . hideInputs
264+ ? nothing
265+ : html ` <ha- suggest- with- ai- butto n
266+ slot= "actionItems"
267+ .hass = ${ this . hass }
268+ .generateTask = ${ this . _generateTask }
269+ @suggestion = ${ this . _handleSuggestion }
270+ > </ ha- suggest- with- ai- butto n> ` }
269271 </ ha- dialog- header>
270272 ${ this . _error
271273 ? html `<ha- alert alert- type= "error"
You can’t perform that action at this time.
0 commit comments