Veda82
(Veda82)
January 8, 2019, 11:03am
1
Tap-action option is available for picture-glance card (Picture glance card - Home Assistant ), but it is only used when the picture is tapped; default action for entities in picture-glance is more-info, and it is not possible to customize it.
It would be useful to be able to do that as it is possible in the glance card (see Glance card - Home Assistant , tap-action). By doing so, picture-glance and glance would be more consistent.
See also for reference:
Would appreciate any help, with the most recent changes in lovelace, im not sure why this isnt working unless its impossible.
basically have a picture glance card that gets its image from doorbell cam, lists the skybell sensors/buttons entities and creates buttons for them. i wanted to add my garage door entry’s lock so that the lock icon toggles the lock state on tap.
i feel like ive tried everything but its always just listing the lock entity and doing the default action (more-info screen). …
How can I toggle entities directly when tapping in a picture-glance?
I have a picture-glance with a camera image, and a lock entity. I would like tapping the lock to directly toggle the lock state. According to the docs , toggling is supported. However, it doesn’t say how. I have tried adding tap_action: toggle to the entity and to the card, with no luck.
Default action for entities in picture-glance is more-info, and it is not possible to customize it.
It would be useful to be able to do that as it is possible in the glance card; particularly, in my user case I have a picture-glance that displays the feed from a camera, and I would like to integrate PTZ controls in the picture-glance.
I would be able to use a single click to activate the PTZ control directly.
crowbarz
(Crowbar Z)
October 18, 2019, 1:58pm
2
In case you didn’t see it, this feature was implemented in https://github.com/home-assistant/home-assistant-polymer/pull/3807 which was included in HA 0.100. Thanks @iantrich ! \o/
1 Like