Hi,
I have a sensor style capability show in the ui of type enum that i now realize would be much better of as a string. What would be the best strategy for that change? One thing i have considered:
- Keep and change the current enum to only one value like ‘not-in-use’, set uiComponent to null to hide it and add a new string capability. Create the new capability if it does not exist at startup and set the value of the old one to ‘not-in-use’. The trigger which uses this capability simply use the new version.
Is that possible or what would be the best way of doing this?
Thanks for any tips or tricks.