WebThingsIO / gateway-addon-python

Python bindings for developing add-ons for WebThings Gateway
Mozilla Public License 2.0
16 stars 10 forks source link

Uninstall method #90

Closed flatsiedatsie closed 3 years ago

flatsiedatsie commented 3 years ago

Addon already have a very useful unload method that is called when they are disabled. I wonder, would it be an idea to have an 'uninstall' method that is called when an addon is uninstalled? Then it could quickly remove some files from .webthings/data.

mrstegeman commented 3 years ago

Duplicate of https://github.com/WebThingsIO/gateway/issues/2062

flatsiedatsie commented 3 years ago

Apologies. I'm starting to forget the things I asked for earilier.. I'll do a better search next time.