#Hold action interaction not working on dashboard (Android)

1 messages · Page 1 of 1 (latest)

tepid laurel
#

I've had this issue for a while, just not got around to trying to sort it out. I've had a problem for a while now (3-4 months), where I cannot use the hold action on the interactions for dashboard elements. This is specifically using the picture entity card.

One of my pages on my dashboard, is a grid of picture entity cards, one for each room in the house. Tapping the pictures (which works fine) takes me to a sub view containing all the entities for each room, and the hold action was used for turning off all the lights in the room. I had this working for ages, until it stopped working sometime ago. This issue is only on my phone (Android), works fine on windows. Is there something in the app, which now needs to be activated?

shrewd sandal
#

Can you post the code of one of your picture entity cards? Preferably the one with the fewest entities.

tepid laurel
shrewd sandal
#

Do you have any custom dashboard components that could be interfering with the hold actions?

tepid laurel
# shrewd sandal Do you have any custom dashboard components that could be interfering with the h...

Thanks for helping with this. What I can say about the problem is as follows. The problem started approx 4 months ago. It only seems to be a problem, when using the Android app, but works totally fine if I use Chrome on an Android device, or on a PC. I have also tried making a new dashboard, with a single picture entity card, and the problem still persists. So the problem seems to be connected to the Android app (I've tried it on three different devices, and the problem is the same on all of them). It's like something has changed in the Android app, when hold functions don't seem to work

tight hull
#

Just tried your code. It works for me in the app on a Samsung (Android) tablet.
Like Daniel asked, do hold_actions work in other cards? ```yaml
type: button
entity: light.living_room_lights
hold_action:
action: perform-action
perform_action: light.turn_off
target:
entity_id: light.living_room_lights

tepid laurel
#

It's very strange. Single tap and double tap also work fine, it's just the hold action that doesn't work. I've also checked if changing the card type makes a difference (I'm using sections), but that also makes no difference...

tight hull
#

But, since it seems to be happening with other cards and not just the picture-entity, I wonder if it is an accessibility setting on your phone. Try

  • Open your device's Settings app .
  • Tap Accessibility. Touch & hold delay.
  • Select Short, Medium, or Long.
    I'm not sure if it will will help but it's something to check, I suppose.