Called to execute the action
OptionaldescriptionAdditional description of the action
OptionallearnThe user requested to 'learn' the values for this action.
OptionallearnTimeout for the 'learn' function (in milliseconds) Companion sets a default value of 5s, to ensure that the learn does not get stuck never completing You can change this if this number does not work for you, but you should keep it to a sensible value
Name to show in the actions list
The input fields for the action
OptionaloptionsIgnore changes to certain options and don't allow them to trigger the subscribe/unsubscribe callbacks This allows for ensuring that the subscribe callback is only called when values the action cares about change
OptionalskipIf true, the unsubscribe callback will not be called when the options change, only when the action is removed or disabled
OptionalsubscribeCalled to report the existence of an action Useful to ensure necessary data is loaded
OptionalunsubscribeCalled to report an action has been edited/removed Useful to cleanup subscriptions setup in subscribe
The definition of an action