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

hold_action not responding #2103

Closed
martoq opened this issue Mar 28, 2022 · 12 comments
Closed

hold_action not responding #2103

martoq opened this issue Mar 28, 2022 · 12 comments
Assignees

Comments

@martoq
Copy link

martoq commented Mar 28, 2022

iOS device model, version and app version

Model Name: iPhone 11 Pro
Software Version: 15.3.1
App version: [2022.3]

Home Assistant Core Version

[2022.3.7]

Describe the bug
ios app does not respond to hold_action in lovelace. Desktop works, ios app does not.

To Reproduce
hold button, no response

Expected behavior
hold button, action performed.

Screenshots

Additional context

This appears to have been an issue since January of last year based on comments in the forums.

@martoq
Copy link
Author

martoq commented Mar 28, 2022

Correction this appears to have been an issue since '20.

https://community.home-assistant.io/t/entity-button-card-hold-action-doesnt-work-on-ios/162337

@ZoltrixGFC
Copy link

Can confirm issue still exists.

@Nxt3
Copy link

Nxt3 commented Dec 31, 2022

This is still happening on more recent versions of HASSIO as well.

image

@jperquin
Copy link

As of HA Companion App IOS version 2023.7 (2023.471) running on HA core 2023.10.0, I can confirm this issue is still present. Accessing same instance via Chrome-browser on IOS hold_action works as expected (just like on macos Chrome).

I really like to use the companion app for its additional funcionality, but having to think about which app / browser to use for a specific requirment is cumbersome to say the least..

@gregtakacs
Copy link

Still an issue in 2024.

@bgoncal
Copy link
Member

bgoncal commented Jan 30, 2024

If you open HA on a browser (eg safari in iOS) does the hold work?

@gregtakacs
Copy link

So my primary mobile is an Android and I only casually use iOS but now that I played with it a bit more the issue seems to be finger placement. With my iPhone if my finger moves even just a tiny smidge while holding, the blue highlight indicating "hold" just goes away and the hold action doesn't activate.

If I have the blue circle on the screen while releasing, the hold action works, but it's much harder to keep my finger steady than it is on Android.

The behavior is the same on both Chrome and in the companion app.

@bgoncal
Copy link
Member

bgoncal commented Jan 30, 2024

So my question was because if it also happens in the mobile browser this means we can't probably fix on the App side so you should report to frontend

@niobos
Copy link

niobos commented Jan 30, 2024

I can confirm that I have the same behaviour in Mobile Safari and the iOS app. Holding down my finger on an entity doesn't bring up the expected hold_action; but it doesn't trigger the normal (short) tap action either. I just get a blue circle that disappears when I release.

I've tried for several dozen times to hold-without-moving, but wasn't able to trigger the hold_action even once. I also noticed that when I moved my finger purposely, the blue circle disappears. So this is a different behaviour from when I actually try to hold-without-moving. Based on the UI feedback, it does appear that I'm performing the hold-action (blue circle), but that it doesn't trigger the configured action.

@bgoncal
Copy link
Member

bgoncal commented Jan 31, 2024

In this case can you open an issue for Frontend? The issue is not something the companion app can fix

@niobos
Copy link

niobos commented Jan 31, 2024

Cross-linking to home-assistant/frontend#18474

@bgoncal
Copy link
Member

bgoncal commented Jan 31, 2024

Thanks, I will be closing the issue on iOS repo since the problem happens on the frontend (as tested in Safari), feel free to reopen if needed.

@bgoncal bgoncal closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants