need to check that, but yes, I do seem to remember unexpected difference in operating the name and the button. let me check what I have on that.
can at least confirm what you report:
clicking either icon or name popup the confirmation, clicking the āKlikā button immediately performs the action. (or, does Not pop up the confirmation ā¦ didnt check whether the identify was successfully performed)
Suppose that would at least be unexpected and warrant a Frontend Issue/Discussion
- entity: button.lightbulb_identify
type: button #<--- this makes it respond to the Button, and to the button only
tap_action:
action: call-service
service: button.press
confirmation:
text: "Are you sure?"
btw, what card is that (given the 3 bullets at the bottom)? Is it swipe card?
Thanks for confirming, Marius, and for your research.
Iāll try your suggestion. The other option I thought of since was to make it a simple entity, but as pointed out in the GitHub discussion, thatās a bit awkward. I think your suggestion will work better. Iāll try it later.
EDIT: @Mariusthvdb Iām happy with your suggestion. It works just fine in this case. Thanks again.
As for the bullets: Yes, itās an auto-entities card is within a custom swipe card.
Pieter, as it was already mentioned by Marius, tap_action does not work for buttons & checkboxes. It was probably assumed that tapping a checkbox is always ātogglingā, double-tapping is meaningless; same for a button. But inability to re-define an action causes an inability to add confirmation, side effectā¦
You seem to want to display a LABEL inside a fold-entity-rowās āheadā + all entities assoc. with this label.
First, a fold-entity-rowās āheadā must be either a āsectionā row or a ācustom:template-entity-rowā - in both cases a row may have a ātitleā which may be placeholder for a labelās name.
Second, since you want to list all possible labels (i.e. w/o defining labelsā names explicitly) - you have to use a ātemplateā option inside āauto-entitiesā which enumerates all labels, then for some particular label constructs a fold-entity-row with a āheadā=labelās name and āentitiesā=assoc. entities.
fwiw, I did bring up the issue with one of the main Frontend contributors, to have the option stand alone, and not inside the action config.
No promises were made, but I got an āInteresting, let me play around with that a bitā response
3 shutters are just the ones I have connected at the moment while setting this up - there are more to come and when at a later point I add a couple blinds, Iād like to have them added automatically.
After I added the grid and the mushroom-chips-cards back in with the following code (I think the layout-grid or similar is needed in order to use multiple cards in the options, right?), then things start to break again: