Hello, I am working on a homey app for modbus devices, which lets the user add a dynamic amount of registers (address, label) with their output shown in the front-end capabilities tab.
Right now I have an Html Pairing menu that allows the user add a dynamic number of registers, with their parameters, 10 capabilities which are hidden or shown based on if they recieved parameters during pairing process, and inside device Advanced settings I have an text area with the registers parameters converted into string.
I was wondering if anyone would know a way add input fields based on a variable or variable’s length, inside the Advanced Settings menu. Right now I only know how to add them trough driver.compose.json.
I would also be greatful, if anyone could advise me how to manage the setting’s id, cause if i would point to my object[index], then I had to convert to string, and then, if edited, that setting would not register inside my code.