<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def trigger(self, only_manual=True):
 """Trigger a quick-action automation."""

        if not self.is_quick_action and only_manual:
            raise AbodeException((ERROR.TRIGGER_NON_QUICKACTION))

        url = CONST.AUTOMATION_APPLY_URL
        url = url.replace(
            '$AUTOMATIONID$', self.automation_id)

        self._abode.send_request(
            method="put", url=url, data=self._automation)

        return True