At the bottom of this post are the typical "autoRun" methods as I understand them (very shaky understanding). i.e. methods that are run by some activity of the system.
The "Refresh()" I see in some example drivers does not seem to be connected to any specific system action like the methods listed below.
Is this correct? Is "Refresh()" simply a common name authors use for a specific action and is not automatically run by the OS?
“Unfortunately, we currently do not have refresh capability available in Smartthings platform.”
Methods with some automatic function that I am aware of:
- installed() - runs when driver (or perhaps device??) is installed, via pair or virtual
- configure() - runs when driver is installed, after installed is run. if capability Configuration ex-ists, a Configure command tile is added to the device page.
- initialize() - runs first time driver loads, ie system startup when capability Initialize exists, a Initialize command tile is added to the device page.
- updated() - runs when save is clicked in the preferences section