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
Script Editor to Ha Form #11601
Script Editor to Ha Form #11601
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const value = typeof item === "object" ? item.value : item; | ||
const label = typeof item === "object" ? item.label : item; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or should we do it like ha-form
? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the object better, but not sure how well it translates to the backend
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can switch it but I also like object better... the other is very ambiguous it seems
0973de6
to
591d55d
Compare
cafec15
to
fd077fe
Compare
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Breaking change
Proposed change
change Over Sequence editor in scripts to ha-form
[ ] change first form to ha form
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: