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 not supporting data: instead of deprecated service_data: #34

Closed
jazzyisj opened this issue Sep 16, 2023 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@jazzyisj
Copy link

jazzyisj commented Sep 16, 2023

home-assistant/frontend#12628

I recently updated my entire UI config to comply with the new standard of using data: rather than service_data: for entity actions and discovered that the Big Slider Card has not updated yet to support the new syntax. It's the only card I've come across so far that doesn't. Since you link to the updated documentation, it might lead to some confusion.

New syntax (doesn't work):

tap_action:
  action: call-service
  service: script.some_script
  data: "some data"

Old syntax (works):

tap_action:
  action: call-service
  service: script.some_script
  service_data: "some data"

Checklist:

  • [ X] I updated to the latest version available
  • [X ] I cleared the cache of my browser

Release with the issue:
v1.1.2

@jazzyisj jazzyisj added the bug Something isn't working label Sep 16, 2023
@nicufarmache
Copy link
Owner

Thanks for the report. I'll look into it

@nicufarmache
Copy link
Owner

nicufarmache commented Sep 29, 2023

In the latest version (1.1.4) I changed the way I handle Actions and the new syntax is now working.

Before this I was using custom-card-helpers but it hasn't been updated in two years so eventually I stopped using it and found another way to do handle Actions

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