homebridge/homebridge-config-ui-x

Config.json not saved changes if use very big oneOf function.

grzegorz914 opened this issue · 6 comments

Describe The Bug

The config not save its changes if use very big oneOf functions. In my case is 600 objects.
The plugin to test:
https://github.com/grzegorz914/homebridge-denon-tv

If reduce objects then saved correctly.

Thanks.

Logs

No response

Config

No response

Homebridge UI Version

All versions

Homebridge Version

All versions

Node.js Version

20.10

Operating System

macOS

Environment Info

{"label"=>"Using hb-service?"}

Raspberry Pi Model

Other (specify in description)

I fixed this in my plugin config.schema by reduce objects count in oneOf but the problem still exist in ConfigUi X.

Hi @grzegorz914 is this something that I could reproduce myself, if I could install your plugin could you attach to this ticket an example config that I could use?

Please instal version 4.7.0 because 4.8.0 contain temporary workaround for this issue. After install it try to create / change some buttons using UI. The UI will not save the changes.

Is this related to the "Accessories" tab and not saving the layout of rooms and accessories?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been closed as no further activity has occurred.