+
Reload
diff --git a/src/components/ha-button-menu.ts b/src/components/ha-button-menu.ts
index 31f9105d93..2abf8d9625 100644
--- a/src/components/ha-button-menu.ts
+++ b/src/components/ha-button-menu.ts
@@ -10,7 +10,6 @@ import {
} from "lit-element";
import "@material/mwc-button";
import "@material/mwc-menu";
-import "@material/mwc-list/mwc-list-item";
import type { Menu, Corner } from "@material/mwc-menu";
import "./ha-icon-button";
diff --git a/src/components/ha-date-range-picker.ts b/src/components/ha-date-range-picker.ts
index 426da4127d..cdc260d60b 100644
--- a/src/components/ha-date-range-picker.ts
+++ b/src/components/ha-date-range-picker.ts
@@ -77,7 +77,7 @@ export class HaDateRangePicker extends LitElement {
${this.ranges
? html`
-
+
${Object.entries(this.ranges).map(
([name, dates]) => html`
${yamlMode
@@ -152,7 +152,7 @@ export default class HaAutomationActionRow extends LitElement {
"ui.panel.config.automation.editor.actions.duplicate"
)}
-
+
${this.hass.localize(
"ui.panel.config.automation.editor.actions.delete"
)}
diff --git a/src/panels/config/automation/condition/ha-automation-condition-row.ts b/src/panels/config/automation/condition/ha-automation-condition-row.ts
index e9dbf21fff..701c5d1b74 100644
--- a/src/panels/config/automation/condition/ha-automation-condition-row.ts
+++ b/src/panels/config/automation/condition/ha-automation-condition-row.ts
@@ -71,7 +71,7 @@ export default class HaAutomationConditionRow extends LitElement {
slot="trigger"
>
-
+
${this._yamlMode
? this.hass.localize(
"ui.panel.config.automation.editor.edit_ui"
@@ -85,7 +85,7 @@ export default class HaAutomationConditionRow extends LitElement {
"ui.panel.config.automation.editor.actions.duplicate"
)}
-
+
${this.hass.localize(
"ui.panel.config.automation.editor.actions.delete"
)}
diff --git a/src/panels/config/automation/trigger/ha-automation-trigger-row.ts b/src/panels/config/automation/trigger/ha-automation-trigger-row.ts
index c9c4efac28..2a15e6c35a 100644
--- a/src/panels/config/automation/trigger/ha-automation-trigger-row.ts
+++ b/src/panels/config/automation/trigger/ha-automation-trigger-row.ts
@@ -101,7 +101,7 @@ export default class HaAutomationTriggerRow extends LitElement {
>
${yamlMode
@@ -117,7 +117,7 @@ export default class HaAutomationTriggerRow extends LitElement {
"ui.panel.config.automation.editor.actions.duplicate"
)}
-
+
${this.hass.localize(
"ui.panel.config.automation.editor.actions.delete"
)}
diff --git a/src/panels/config/entities/ha-config-entities.ts b/src/panels/config/entities/ha-config-entities.ts
index 8d3279acb3..953da27bd1 100644
--- a/src/panels/config/entities/ha-config-entities.ts
+++ b/src/panels/config/entities/ha-config-entities.ts
@@ -462,7 +462,7 @@ export class HaConfigEntities extends SubscribeMixin(LitElement) {
-
+
${this.hass.localize(
this._showIgnored
? "ui.panel.config.integrations.ignore.hide_ignored"
diff --git a/src/panels/config/integrations/ha-integration-card.ts b/src/panels/config/integrations/ha-integration-card.ts
index 6be9ac8524..e2d5ea4215 100644
--- a/src/panels/config/integrations/ha-integration-card.ts
+++ b/src/panels/config/integrations/ha-integration-card.ts
@@ -231,7 +231,7 @@ export class HaIntegrationCard extends LitElement {
>
-
+
${this.hass.localize(
"ui.panel.config.integrations.config_entry.system_options"
)}
@@ -255,7 +255,10 @@ export class HaIntegrationCard extends LitElement {
`}
-
+
${this.hass.localize(
"ui.panel.config.integrations.config_entry.delete"
)}
diff --git a/src/panels/lovelace/components/hui-card-options.ts b/src/panels/lovelace/components/hui-card-options.ts
index 595cd12acd..cf33b6971f 100644
--- a/src/panels/lovelace/components/hui-card-options.ts
+++ b/src/panels/lovelace/components/hui-card-options.ts
@@ -78,17 +78,20 @@ export class HuiCardOptions extends LitElement {
-
+
${this.hass!.localize(
"ui.panel.lovelace.editor.edit_card.move"
)}
- ${this.hass!.localize(
"ui.panel.lovelace.editor.edit_card.duplicate"
)}
-
+
${this.hass!.localize(
"ui.panel.lovelace.editor.edit_card.delete"
)}
${this.hass!.localize(
"ui.panel.lovelace.unused_entities.title"
)}
`}
-
+
${this.hass!.localize(
"ui.panel.lovelace.editor.menu.raw_editor"
)}
@@ -210,7 +212,7 @@ class HUIRoot extends LitElement {
aria-label=${this.hass!.localize(
"ui.panel.lovelace.menu.refresh"
)}
- @tap="${this._handleRefresh}"
+ @request-selected="${this._handleRefresh}"
>
${this.hass!.localize(
"ui.panel.lovelace.menu.refresh"
@@ -220,7 +222,7 @@ class HUIRoot extends LitElement {
aria-label=${this.hass!.localize(
"ui.panel.lovelace.unused_entities.title"
)}
- @tap="${this._handleUnusedEntities}"
+ @request-selected="${this._handleUnusedEntities}"
>
${this.hass!.localize(
"ui.panel.lovelace.unused_entities.title"
@@ -235,7 +237,7 @@ class HUIRoot extends LitElement {
aria-label=${this.hass!.localize(
"ui.panel.lovelace.menu.reload_resources"
)}
- @tap="${this._handleReloadResources}"
+ @request-selected=${this._handleReloadResources}
>
${this.hass!.localize(
"ui.panel.lovelace.menu.reload_resources"
@@ -249,7 +251,7 @@ class HUIRoot extends LitElement {
aria-label=${this.hass!.localize(
"ui.panel.lovelace.menu.configure_ui"
)}
- @tap="${this._editModeEnable}"
+ @request-selected=${this._editModeEnable}
>
${this.hass!.localize(
"ui.panel.lovelace.menu.configure_ui"
@@ -261,7 +263,7 @@ class HUIRoot extends LitElement {
aria-label=${this.hass!.localize(
"ui.panel.lovelace.menu.help"
)}
- @tap="${this._handleHelp}"
+ @request-selected=${this._handleHelp}
>
${this.hass!.localize("ui.panel.lovelace.menu.help")}
diff --git a/src/panels/shopping-list/ha-panel-shopping-list.js b/src/panels/shopping-list/ha-panel-shopping-list.js
index 1adc188439..94644a6e6a 100644
--- a/src/panels/shopping-list/ha-panel-shopping-list.js
+++ b/src/panels/shopping-list/ha-panel-shopping-list.js
@@ -90,7 +90,7 @@ class HaPanelShoppingList extends LocalizeMixin(PolymerElement) {
slot="trigger"
>
-
+
[[localize('ui.panel.shopping-list.clear_completed')]]