I added a preference (setting) to an app I' building that I now want to remove. I removed the input() line, but the preference remains. Is there anyway to programatically delete a preference? I know the settings map is readonly so I can't remove it from there. Is there a different place to store settings I might later want to delete or alter from what the user originally input?
app.removeSetting("name-of-setting")
1 Like
Thank you!!! 2 hours of googling couldn't find something so simple!
The developer wiki is a highly utilized bookmark in my toolset.
Itβs not the most complete documentation but usually I can find something specific in there Iβm looking for.
Here is the page with the removeSetting method for example.
https://docs.hubitat.com/index.php?title=InstalledApp_Object
Iβve learned a few things just browsing through the pages.