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 doesn't work #158

Open
Mariusthvdb opened this issue Feb 16, 2023 · 3 comments
Open

hold_action doesn't work #158

Mariusthvdb opened this issue Feb 16, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Mariusthvdb
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I can not configure tap/hold like the HA defaults

Describe the solution you'd like
A clear and concise description of what you want to happen.

would love to be able to do:

  - type: custom:meteoalarm-card
    entities: binary_sensor.meteoalarm_brabant
    integration: meteoalarm
    hold_action:
      action: url
      url_path: 'https://www.meteoalarm.org/nl/region/NL'

and hold to see the meteoalarm resource directly

Additional context
Add any other context or screenshots about the feature request here.

thanks for considering!

@Mariusthvdb Mariusthvdb added the enhancement New feature or request label Feb 16, 2023
@MrBartusek
Copy link
Owner

I just checked it on my phone and hold actions work as expected with the provided configuration

@MrBartusek MrBartusek added the wontfix This will not be worked on label Mar 4, 2023
@MrBartusek MrBartusek closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2023
@Mariusthvdb
Copy link
Author

really sorry to have to get back here, as

  - type: custom:meteoalarm-card
    integration: meteoalarm
    entities: binary_sensor.meteoalarm_brabant
    scaling_mode: headline
    override_headline: false
    hide_when_no_warning: true
    hold_action:
      action: url
      url_path: 'https://www.meteoalarm.org/nl/region/NL'

does Not open a browser on hold to navigate to that url. It simply opens the more info.
as fas as I can see I made no mistake, according to the Action documentation
I did check 3 main browsers, so that is not it.

Also, because you mentioned your phone, I also checked the iPhone ios app, and that does not even do anything on hold, and does not show the hold circle to indicate a hold action was initiated. can only click on iPhone.

@MrBartusek
Copy link
Owner

I've checked it again and it indeed seems like something is not working.

  • The tap_action works both on my android phone and on my PC
  • The hold_action works only on my phone but doesn't work on my PC

I will investigate that for sure, thanks for reporting

@MrBartusek MrBartusek reopened this Mar 7, 2023
@MrBartusek MrBartusek added bug Something isn't working and removed enhancement New feature or request wontfix This will not be worked on labels Mar 7, 2023
@MrBartusek MrBartusek changed the title add action hold_action doesn't work Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants