TypeScript Automation Engine (write HA automations in TypeScript) - another one

Hi everyone,
I just made a new Home Assistant add-on called TypeScript Automation Engine (TAE).

I did all my automations in node-red, but when dealing with complex automations it starts to become unmaintainable pretty quick with spagetti everywhere. So I needed to program in a more familiar language that works well in the browser, so either JS or TS. I prefer typescript. I liked the smooth flow of node-red and I program almost exclusively in vscode, so I wanted to have the best of both worlds.

I tried existing JavaScript/TypeScript options before (which I can’t post since I’m only allowed 2 links). They are useful projects, but they did not fully match the workflow I wanted, so I built this to focus on a smoother, integrated TypeScript experience inside Home Assistant.

For heavy editing, one can ssh in the ha machine, edit the automation files from /share/tae with whatever IDE then click “Import” in the UI

What TAE provides:

  • TypeScript-first automations with type safety and autocomplete
  • Built-in Monaco editor in the HA panel
  • AI friendly
  • Worker-thread isolation for safer reloads
  • Real-time logs and automation lifecycle controls
  • SQLite-backed persistent storage plus temporary in-memory storage
  • Import/export sync support via /share/tae
  • Terminal tab with autocomplete for calling services and checking entity state

Repository:
https://github.com/Cycov/typescript-automation-engine

Quick install:
Open your Home Assistant instance and show the add app repository dialog with a specific repository URL pre-filled.

  1. Home Assistant → Settings → Add-ons → Add-on Store → Repositories
  2. Add: github. com/Cycov/cycov-home-assistant
  3. Install TypeScript Automation Engine

I would really appreciate feedback, bug reports, and feature requests from the community.

P.S. I didn’t get around to making an icon yet
P.P.S Not a typo, I have a space in the url in the installation