diff --git a/src/panels/config/devices/ha-config-device-page.ts b/src/panels/config/devices/ha-config-device-page.ts index dae63448dd..2e6fd4f8b4 100644 --- a/src/panels/config/devices/ha-config-device-page.ts +++ b/src/panels/config/devices/ha-config-device-page.ts @@ -80,6 +80,7 @@ export interface EntityRegistryStateEntry extends EntityRegistryEntry { export interface DeviceAction { href?: string; + target?: string; action?: (ev: any) => void; label: string; icon?: string; @@ -699,7 +700,15 @@ export class HaConfigDevicePage extends LitElement { ? html`
- + ${actions.map( (deviceAction) => html` - +