parameters: (self, data)
docstring: Helper function that calls a specific action method on the device.
  
          :param data: the `_actions` key mapped to the action method we want to call
          :type data: string
docstring_summary: Helper function that calls a specific action method on the device.
docstring_tokens: Helper function that calls a specific action method on the device .
function: def action(self, data):
          """Helper function that calls a specific action method on the device.
  
          :param data: the `_actions` key mapped to the action method we want to call
          :type data: string
          """
          self._actions[data.get('action', '')](data)
function_tokens: def action ( self , data ) : self . _actions [ data . get ( 'action' , '' ) ] ( data )