-
Notifications
You must be signed in to change notification settings - Fork 66
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
tap_action per entity #31
Comments
Ok, I found that there is a service call that can be performed directly inside the card but that doesn't work for the "whole card" (and even the tap_action is ignored for the "whole card") Example:
|
That's correct, the service call is not supported on the main entity at the moment. I'll try to get that implemented in the near future. |
Thank you very much :) |
Off-topic, but what are you using to handle the templating in the example above ( |
Config Template Card: https://github.com/iantrich/config-template-card |
Correction, in that specific case it was the Decluttering Card: https://github.com/custom-cards/decluttering-card Sorry about the confusion. |
Implemented tap_action on main entity and moved sub entities service configuration into tap_action too, so to better match the default lovelace card configs. |
I just added the tap action on the state value itself because that is the way all other entity-rows behave. Try clicking on a default row and |
mmmh, not 100% sure to be honest. I tried to change it to more-info and I do have the popup on the icon and name, but oddly enough not on the state (person entity) In the multiple-entity card it's happening the opposite somehow, I got the right popup on the state (T7 in the previous screenshot) and the "more-info" if I click on "thermostat" (text) and the icon |
Hi there,
first of all, thanks for this card, it is very useful for my current project :)
I would like to ask if it would be possible to have the "tap_action" to work for each defined entity so that I can decide nothing have to happen, or more spefiically for my case, to open a browser_mod.popup using call-service
Here what I am trying now:
Unfortuntately for now it seems that it is completely ignored, even if I set on each other entity to do nothing:
Would that be possible to integrate?
Thanks
Andrea
The text was updated successfully, but these errors were encountered: