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

sensor_bars cannot be changed with designer anymore #134

Open
CybDis opened this issue Sep 20, 2024 · 3 comments
Open

sensor_bars cannot be changed with designer anymore #134

CybDis opened this issue Sep 20, 2024 · 3 comments

Comments

@CybDis
Copy link

CybDis commented Sep 20, 2024

Since ohne of the latest HA updates, setting the sensor_bars via designer does not work anymore.

Clicking on the checkbox, the javascript debugger shows an error:

flower-card.js?hacst…2974230252024714:75 Uncaught TypeError: Cannot assign to read only property 'show_bars' of object '#<Object>'
    at c._valueChanged (flower-card.js?hacst…230252024714:75:903)
    at H.handleEvent (flower-card.js?hacst…252024714:320:22312)
    at HTMLDivElement.<anonymous> (form-element.ts:116:14)

The checkbox checks and unchecks, but it does not change the yaml anymore:

image

@CybDis
Copy link
Author

CybDis commented Sep 21, 2024

@Olen this bug was fixed with version 2024.9.1 of @marcokreeft/ha-editor-formbuilder - please update your deps

@Olen
Copy link
Owner

Olen commented Sep 21, 2024

Seems like there are a lot of changes to that version.

Will need to investigate

@Olen
Copy link
Owner

Olen commented Sep 22, 2024

Finally. Not the prettiest solution, but it seems to work with the latest beta.
Please test it and if you don't find any ther bugs, I'll make a stable release shortly

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

2 participants