From 29317eb842bce1a42fb6bcdd21a27aa1e27763fc Mon Sep 17 00:00:00 2001 From: Aidan Timson Date: Mon, 2 Feb 2026 08:59:14 +0000 Subject: [PATCH] Show hint only if keyboard shortcuts is enabled (#29332) Enabled by default, must be explicity disabled --- src/panels/config/dashboard/ha-config-dashboard.ts | 2 +- src/panels/lovelace/hui-root.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panels/config/dashboard/ha-config-dashboard.ts b/src/panels/config/dashboard/ha-config-dashboard.ts index a39e05526a..906d9c9371 100644 --- a/src/panels/config/dashboard/ha-config-dashboard.ts +++ b/src/panels/config/dashboard/ha-config-dashboard.ts @@ -373,7 +373,7 @@ class HaConfigDashboard extends SubscribeMixin(LitElement) { ); private _showQuickBar(): void { - showQuickBar(this, { showHint: true }); + showQuickBar(this, { showHint: this.hass.enableShortcuts }); } private async _handleMenuAction( diff --git a/src/panels/lovelace/hui-root.ts b/src/panels/lovelace/hui-root.ts index 1c5f1341c5..4d1108b638 100644 --- a/src/panels/lovelace/hui-root.ts +++ b/src/panels/lovelace/hui-root.ts @@ -862,7 +862,7 @@ class HUIRoot extends LitElement { }; private _showQuickBar = () => { - showQuickBar(this, { showHint: true }); + showQuickBar(this, { showHint: this.hass.enableShortcuts }); }; private _goBack(): void {