-
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
Issue with multiple Selector types when using "Add Field" in Script Editor. #21997
Comments
What exactly is the script error you are seeing? I'm trying this but I don't see any errors, don't see any problem with having empty brackets there.
|
@Didgeridrew check again is the issue still persisting, if yes I would like to contribute. |
The script setup fails with the following:
And the system logs show:
Updated to 2024.9.2, and the issue persists. |
Can you post the entire complete script that has this error (yaml not screenshot?) |
|
Yes, I get the same repair message and error in the system log in Safe Mode. |
Hm sorry I'm stumped then, can't reproduce. 🤷 |
Checklist
Describe the issue you are experiencing
When adding Fields using the Visual Editor for Script, an
{}
is inserted after the selector type key instead ofnull
.Example:
This causes the script to error and become unavailable. Many Selector types require further configuration using the YAML editor, but some do not require it and a few do not have any options beyond their key, so switching the the YAML editor to delete the
{}
should not be required.Describe the behavior you expected
If additional configuration is not required by the Selector, just choosing the selector type should be sufficient to have a working field variable.
Steps to reproduce the issue
What version of Home Assistant Core has the issue?
2024.9.1
What was the last working version of Home Assistant Core?
No response
In which browser are you experiencing the issue with?
Firefox 130.0, Google Chrome 128.0.6613.137
Which operating system are you using to run this browser?
Pop!_OS 22.04 LTS
State of relevant entities
No response
Problem-relevant frontend configuration
No response
Javascript errors shown in your browser console/inspector
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: