Action Listener

Action listeners trigger functions when an action trigger with the same identifier is received. To see how to send action triggers, see Commands

## object name, you can set this to anything that is unique
obj1:
  ## object type
  type: action_listener
  ## the unique action identifier
  identifier: 'some-unique-identifier'
  ## functions that the action listener executes
  on-trigger:
    function:
      type: ## some function replace this
    function2:
      type: ## some function replace this

Last updated