I run OH3 and try to edit a thing created via http binding.
I created the thing and added two channels via UI, which works fine.
The thing looks like this:
UID: http:url:2392a187f2 label: Kostal Inverter Thing1 thingTypeUID: http:url configuration: ignoreSSLErrors: false baseURL: http://192.168.178.21/api/dxs.json?dxsEntries=33556736&dxsEntries=67109120&dxsEntries=83888128&dxsEntries=33556229&dxsEntries=16780032&dxsEntries=33555202&dxsEntries=33555201&dxsEntries=33555203&dxsEntries=33555458&dxsEntries=33555457&dxsEntries=33555459&dxsEntries=33556226&dxsEntries=33556238&dxsEntries=33556230&dxsEntries=33556228&dxsEntries=33556227&dxsEntries=83886336&dxsEntries=83886592&dxsEntries=83886848&dxsEntries=83887106&dxsEntries=83887362&dxsEntries=83887618&dxsEntries=67110400&dxsEntries=67110656&dxsEntries=67110144 password: PasswordRemoved refresh: 60 commandMethod: GET timeout: 3000 username: admin bufferSize: 2048 channels: - id: TotalDcInput channelTypeUID: http:number label: Total DC Input description: "" configuration: stateTransformation: JSONPATH:$.dxsEntries.value - id: OutputPower channelTypeUID: http:number label: Output Power description: "" configuration: stateTransformation: JSONPATH:$.dxsEntries.value
Now I want to add additonal channels via code for all the other dxsEntries. I can do this and the editor does also show the new channels, but the change made in code tab does not get saved. I explicitly press the save in the upper right corner, but when I leave the thing editor and reopen it, all my additional channels are gone and I only see the 2 channels created via UI.
How can I save the changes made in the code tab?