Skip to main content

Hassette is a simple, modern, async-first Python framework for building Home Assistant automations.

Project description

Hassette

PyPI version Python 3.11+ License: MIT Documentation Status codecov

A simple, modern, async-first Python framework for building Home Assistant automations.

Documentation: https://hassette.readthedocs.io

Why Hassette?

  • 🌟 Modern developer experience with typed APIs, Pydantic models, and IDE-friendly design
  • Async-first architecture designed for modern Python from the ground up
  • 🔍 Simple, transparent framework with minimal magic and clear extension points
  • 🎯 Focused mission: does one thing well — run user-defined apps that interact with Home Assistant

AppDaemon User?

We have a dedicated comparison guide for AppDaemon users considering Hassette:

📖 Examples

Check out the examples/ directory for more complete examples:

🛣️ Status & Roadmap

Hassette is brand new and under active development. We follow semantic versioning and recommend pinning a minor version while the API stabilizes.

Hassette development is tracked in this project (still a slight work-in-progress) - open an issue or PR if you'd like to contribute or provide feedback!

Current Focus Areas

  • 📚 Comprehensive documentation
  • 🔐 Enhanced type safety: Service calls/responses, additional state types
  • 🏗️ Entity classes: Include state data and service functionality (e.g. LightEntity.turn_on())
  • 🔄 Enhanced error handling: Better retry logic and error recovery
  • 🧪 Testing improvements:
    • 📊 More tests for core and utilities
    • 🛠️ Test fixtures and framework for user apps
    • 🚫 No more manual state changes in HA Developer Tools for testing!

🤝 Contributing

Hassette is in active development and contributions are welcome! Whether you're:

  • 🐛 Reporting bugs
  • 💡 Suggesting features
  • 📝 Improving documentation
  • 🔧 Contributing code

Early feedback and contributions help shape the project's direction.

📄 License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hassette-0.15.0.tar.gz (100.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hassette-0.15.0-py3-none-any.whl (143.7 kB view details)

Uploaded Python 3

File details

Details for the file hassette-0.15.0.tar.gz.

File metadata

  • Download URL: hassette-0.15.0.tar.gz
  • Upload date:
  • Size: 100.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hassette-0.15.0.tar.gz
Algorithm Hash digest
SHA256 59cc71635cc5ac6be7cb20fa2b251fa4ea008ee82486f073fe1998eb1f9f3468
MD5 3bcdbab1d15864d4272e8438aa6b396e
BLAKE2b-256 bd27cd6c74c840cb28c0dfab2e2be507bc4da4b4a59e40f95aa0b449729e44d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for hassette-0.15.0.tar.gz:

Publisher: python_package.yml on NodeJSmith/hassette

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hassette-0.15.0-py3-none-any.whl.

File metadata

  • Download URL: hassette-0.15.0-py3-none-any.whl
  • Upload date:
  • Size: 143.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hassette-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 861073e5a47bf17eca6847cadac870f34aabbae5b590e89e4c371f75913ba364
MD5 96b08a11ebdc5f0735ecef8c1e2d6db6
BLAKE2b-256 1f92512f21191cb8a218df91b1418cdf69b5322d399dc046b0c86da0f1aa9f66

See more details on using hashes here.

Provenance

The following attestation bundles were made for hassette-0.15.0-py3-none-any.whl:

Publisher: python_package.yml on NodeJSmith/hassette

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page