class NewAutomation
Description
A new automation to be created.Args
name: The name of this automation.description: An optional description of this automation.enabled: Whether this automation is enabled. Only enabled automations will trigger.event: The event that will trigger this automation.action: The action that will execute when this automation is triggered.