 
 
   class AmazingDashButton extends env.devices.ContactSensor
+    actions:
+      trigger:
+        description: "Closes the contact for the configured holdTime. Called when the dash button has been triggered"
 
     @prepareConfig: (config) =>
       address = (config.macAddress || '').replace /\W/g, ''


    getContact: () -> Promise.resolve @_contact

  # ###Finally
  # Create a instance of my plugin
  # and return it to the framework.

      @debug = @plugin.debug || false
      @base = commons.base @, @config.class
      @candidateInfoHandler = (info) =>
        @trigger() if info.mac is @macAddress
      super()
      @plugin.on 'candidateInfo', @candidateInfoHandler

