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

Different tap_action and / or hold_action for each entity within the "rooms template" #56

Open
hAMMERlized opened this issue Jan 30, 2024 · 1 comment

Comments

@hAMMERlized
Copy link

Hi,

first of all, thanks for sharing your dashboard. I'm using and loving it. I am wondering if it is possible to have for each entity (e.g. light entity, climate entity etc.) a seperate tap_action or hold_action.

Only thing i have found is to use the "data:" attribute within the tap_action / hold_action, like this:

tap_action:
  action: call-service
  service: light.toggle
  data:
    entity_id: light.some_light
hold_action:
  action: call-service
  service: light.toggle
  data:
    entity_id: light.some_other_light

With this i am only able to use the tap_action for the whole template and all entity, not seperate. Hope you know what i mean. Thanks

@panhans
Copy link
Owner

panhans commented Mar 7, 2024

Hi thanks for your feedback. I am very busy with my blueprints. I think I don't have time to maintain the rounded templates anymore.
I know what you mean. but this needs a complete rewrite of this cards, since you wish is only possible if the button card hols multiple buttons. Atm, it's not the case. Maybe it's easy to add some buttons in the room cards. But as I said: I am busy right now. Sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants