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

Actions: Replace 'service_data' by 'data'? #141

Open
soeffi opened this issue Jun 30, 2023 · 0 comments
Open

Actions: Replace 'service_data' by 'data'? #141

soeffi opened this issue Jun 30, 2023 · 0 comments

Comments

@soeffi
Copy link

soeffi commented Jun 30, 2023

The problem

Not exactly an issue, but an observation that caused me some confusion:

The docs says with respect to the action object:
"Each button supports the same actions as seen in Home Assistant's button card".

But in fact, the service's data parameter needs to passed via a service_data object, while Home Assistant's button card just uses data (see here)

I know it's a breaking change to remove service-data completely, so maybe it's possible to allow both?

What version of Paper Buttons Row has the issue?

2.1.3

What version of Home Assistant are you running?

2023.6.2

What version of the Frontend are you running?

20230608.0

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

This was referenced Oct 28, 2023
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

1 participant