| name | automations |
| description | Tesla automation rules — create triggers that fire notifications or commands when vehicle state changes. Battery alerts, charge complete, sentry events.
|
| argument-hint | [action: list|add|remove|run|test|status] |
| allowed-tools | Bash(tesla *) |
| level | 2 |
Tesla Automations
Rule-based automation engine that monitors vehicle state and fires notifications or shell commands when conditions are met.
List Rules
tesla automations list
tesla automations list --json
Add Rules
tesla automations add
Rules have three parts: a trigger (what to watch), a condition (threshold/value), and an action (notify or run command).
Default Rules
The following rules are available out of the box:
| Rule name | Trigger | Default condition | Action |
|---|
battery_below | battery SoC | < 20% | push notification |
charging_complete | charge state | becomes Complete | push notification |
sentry_event | sentry mode | new event detected | push notification |
tesla automations add --preset battery_below
tesla automations add --preset charging_complete
tesla automations add --preset sentry_event
Remove Rules
tesla automations remove <name>
tesla automations enable <name>
tesla automations disable <name>
Run Daemon
tesla automations run
tesla automations run --source auto
tesla automations run --interval 60
The daemon polls vehicle state on the configured interval and evaluates all enabled rules.
Install as System Service
tesla automations install
tesla automations uninstall
Test a Rule
tesla automations test <name>
Use this to verify notification delivery before enabling the rule in the daemon.
Status
tesla automations status
Response Guidelines
- If the CLI is not configured (no VIN, no auth), stop and tell the user to run
/tesla:setup — never auto-configure
- List rules first before suggesting add/remove operations
- Suggest presets for the three most common use cases (battery_below, charging_complete, sentry_event)
- Remind the user the daemon must be running (or installed as a service) for rules to fire
- For
$ARGUMENTS:
- "list" / no args →
tesla automations list
- "add" / "create" / "new" →
tesla automations add
- "remove" / "delete" →
tesla automations remove <name>
- "run" / "start" / "daemon" →
tesla automations run
- "install" / "service" →
tesla automations install
- "test" →
tesla automations test <name>
- "status" →
tesla automations status