Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide "display only" menu items with no actions #208

Open
philipabbey opened this issue Jan 5, 2025 · 0 comments
Open

Provide "display only" menu items with no actions #208

philipabbey opened this issue Jan 5, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@philipabbey
Copy link
Collaborator

philipabbey commented Jan 5, 2025

Ref: https://community.home-assistant.io/t/home-assistant-app-for-garmin/637348/331?u=np_complete

Now that the template type is deprecated, which should be the right syntax for an entry showing info, without any expected action (such as showing room temperature and humidity)? A “tap” entry with an empty tap_action section? Even though that shows a warning?

There does not seem to be a neat way to have "display only" menu items since the generalisation of template contents in all menu items and the deprecation of the template item.

I can make this work with a "toggle" menu item, but then there's an unwanted icon. This suggests the need for a new class for "display only" items with no actions or service calls.

@philipabbey philipabbey added the enhancement New feature or request label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant