NewAutomation

A new automation to be created.

Attributes:

  • action (Optional): The action that will execute when this automation is triggered.
  • description (Optional): An optional description of this automation.
  • enabled (Optional): Whether this automation is enabled. Only enabled automations will trigger.
  • event (Optional): The event that will trigger this automation.
  • name (Optional): The name of this automation.