fix: don't render extra fields when there are none (#14374)
This commit is contained in:
parent
65426bd2d0
commit
90b9eaeb19
|
@ -70,7 +70,7 @@ export class HaDeviceAction extends LitElement {
|
|||
"ui.panel.config.automation.editor.actions.type.device_id.action"
|
||||
)}
|
||||
></ha-device-action-picker>
|
||||
${this._capabilities?.extra_fields
|
||||
${this._capabilities?.extra_fields?.length
|
||||
? html`
|
||||
<ha-form
|
||||
.hass=${this.hass}
|
||||
|
|
Loading…
Reference in New Issue