Olen / lovelace-flower-card

Lovelace Flower Card to match the custom plant integration
https://github.com/Olen/homeassistant-plant/
177 stars 29 forks source link

sensor_bars cannot be changed with designer anymore #134

Open CybDis opened 1 week ago

CybDis commented 1 week ago

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 commented 1 week ago

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

Olen commented 1 week ago

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

Will need to investigate

Olen commented 1 week ago

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