Non-touch screens cannot use PIN

When a menu item requests a PIN on devices without a touch screen, replace the menu item with an info item displaying a message for the user.
This commit is contained in:
Philip Abbey
2026-06-24 00:17:26 +01:00
parent a97440b997
commit 8c5bdbc1f8
2 changed files with 33 additions and 17 deletions

View File

@@ -112,7 +112,7 @@ class HomeAssistantMenuItemFactory {
label as Lang.String or Lang.Symbol,
entity_id as Lang.String?,
template as Lang.String?,
action as Lang.String?,
action as Lang.String?,
data as Lang.Dictionary?,
options as {
:exit as Lang.Boolean,