πŸ”± Home Assistant Python Typer β€” Robust typing & auto-complete for your automations

:rocket: Stop Fighting YAML β€” Write Your Home Assistant Automations in Typed Python :hammer_and_wrench::sparkles::white_check_mark:

Have you ever had automations break because of a YAML/Jinja typo? Or because an entity disappeared and your automations silently failed?

Do you fear editing automations because of the tooling and syntax?

That ends now.


:hammer_and_wrench: Introducing: Home Assistant Python Typer

Leverage real software development tools to write and maintain your automations with confidence β€” just like any modern application.

Home Assistant Python Typer makes your code editor (like VSCode) fully aware of all the entities and services in your own Home Assistant instance. You get:

:white_check_mark: Auto-completion
:white_check_mark: Red error highlights when something is wrong
:white_check_mark: Type safety for services, arguments, and entity states
:white_check_mark: Actual Python, not fragile YAML/Jinja


:camera_flash: Example (from VSCode):

Here you can see:

  • Auto-complete for entity IDs and service names
  • Argument validation (e.g., only certain colors are valid)
  • Errors when using unavailable or incorrect entities or impossible states

:movie_camera: Want to see it in action? Here’s a short demo + install guide:


:package: Get Started / Read the Docs:
:point_right: GitHub – Ten0/homeassistant_python_typer


Big thanks to the Home Assistant and AppDaemon teams β€” this tool builds on their fantastic work to bridge home automation with the broader software ecosystem.

Let me know what works, what breaks, and what you’d love to see next! :raised_hands:

1 Like

Hi, is this project still alive ?
I found it pretty promising, but failed during install. Google&Forum could not find any post or comments about. Only announcement, nothing else.
thx bernhard

1 Like

Heyy!

Yes absolutely! I use it for all my automations, and I hope the stars on GitHub with no open issues are about people using it as well and not encountering issues. :sweat_smile:
It’s pretty stable currently for my use-case which is why I don’t make many commits these days, but works as expected as far as I’m concerned. :blush:

I don’t monitor this thread much so opening an issue on GitHub will have me react faster, but I’d love to help you out with any issue you may be encountering!

Please let me know at what step of the video you get something unexpected! :slight_smile: