mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
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…
x
Reference in New Issue
Block a user