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

Tap action call-service not wokring #43

Open
arnaurovira23 opened this issue Oct 30, 2024 · 2 comments
Open

Tap action call-service not wokring #43

arnaurovira23 opened this issue Oct 30, 2024 · 2 comments

Comments

@arnaurovira23
Copy link

Really great card! It solved my refreshing problems.
I noticed that the tap-action is not working. I would like to call-service input_boolean_press and is not working. I really appreciate your effort :)

@Lateadapter
Copy link

same here

@Lateadapter
Copy link

Lateadapter commented Dec 29, 2024

I'm using the refreshable-picture-card already long time - many thanks for the work done so far. However, I could not solve the problem with the tip action now either (for navigation in my case). I saw also here in the list of issues several similar comments .... therefore I was searching for some alternative.
For anyone, who has same problem, here is one possible solution:
https://community.home-assistant.io/t/custom-button-card-pictures-do-not-refresh/593570/8
https://www.home-assistant.io/integrations/file

sample: the picture "sample.png" is located under usually used path "/local/www/..."

  1. add "allowlist_external_dirs" to configuration.yaml - important: define here the local directory as "/config"
    image
  2. restart HA
  3. under "devices and services" add a new integration "Local File"
  4. define an entity name and the picture path ( /config/www/sample.png) - a new (virtual) camera.name-entity will be generated
  5. put that camera.name-entity into a picture-entity-card and any change of picture-content at local disk, although with same name, will refresh the picture on dashboard
  6. in addition all tap-actions are possible to use

A remaining functional difference to the "refreshable picture card" is that with “Local File” the update is based on changed content and not after a refresh cycle. That might be important, if the content is updated too often.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants