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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hassette-0.15.1.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.1.tar.gz
Algorithm Hash digest
SHA256 8320697a2370afdebff1d52c239442e41d961c4a0ddd94e8dabceff6cf3e1e37
MD5 5807e62f20e06a6182b9c3d19e438ebc
BLAKE2b-256 e2a5b2830e178300743c254d32eff799867c38c055abff2ee1a5b2838792b921

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: hassette-0.15.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b70e5027ee27c05af726965e3a76c3ba8cbda5a9fc34c4bff8cd1de7a4e49306
MD5 773872ab472295dee7a7e8b2da618846
BLAKE2b-256 1d14033cd7c77db29b52b2e90d444fee8004d341f3768a31273dc96b083d19a7

See more details on using hashes here.

Provenance

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