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.2.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.2-py3-none-any.whl (143.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hassette-0.15.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e7218c608bb3577a0539af81c3094bfbebca74ce6cbba7124e64b9cf66474190
MD5 8dc256c7ac661385089b1790773ac3f8
BLAKE2b-256 47f2012ee2d980a9d708be19b7e49ae3d36b27d1447614cdfd109fcc7a633c29

See more details on using hashes here.

Provenance

The following attestation bundles were made for hassette-0.15.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: hassette-0.15.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 03fcfdb2a2d2a42c4939f8727901f74d66ee7adfc5c1c99b90640b8cd93bd9cf
MD5 eb7e9201a05fc9500d803e43cb3722d7
BLAKE2b-256 a291cf91e3a3b6d3c1df5b9b15b49683d5e2e43f28cbfd47384ba6697993324b

See more details on using hashes here.

Provenance

The following attestation bundles were made for hassette-0.15.2-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