-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Call a service: Split remaining service_data's into data and target #21440
Call a service: Split remaining service_data's into data and target #21440
Conversation
WalkthroughWalkthroughThe recent changes enhance the Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
Documentation has been added through home-assistant/home-assistant.io#34047. Thanks! |
Proposed change
It's been a while you can use
data
andtarget
to call a service as a replacelement forservice_data
. This migrates the remaining parts to use data and target. Take a good look if you can, since I'm still unsure if this doesn't introduce breaking changes.It also introduces changes in the picture elements card so the service call button supports that as well. That will need a documentation change to be done.
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed:
Summary by CodeRabbit
Summary by CodeRabbit
New Features
target
property for specifying service call targets, enhancing service invocation precision.data
property for improved service data handling, replacing the previousserviceData
.Bug Fixes
Documentation
ServiceButtonElementConfig
to include new optional properties, promoting clearer service handling in configurations.