homebridge-config-ui-x icon indicating copy to clipboard operation
homebridge-config-ui-x copied to clipboard

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

Open grzegorz914 opened this issue 1 year ago • 5 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)

grzegorz914 avatar Jan 16 '24 16:01 grzegorz914

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

grzegorz914 avatar Jan 18 '24 06:01 grzegorz914

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?

bwp91 avatar Jan 20 '24 00:01 bwp91

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.

grzegorz914 avatar Jan 20 '24 04:01 grzegorz914

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

coryabooth avatar Jan 25 '24 15:01 coryabooth

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.

github-actions[bot] avatar Feb 25 '24 11:02 github-actions[bot]

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

github-actions[bot] avatar Mar 02 '24 11:03 github-actions[bot]