/uhoo-homeassistant

uHoo consumer integration for homeassistant

Primary LanguagePythonMIT LicenseMIT

uHoo for Home Assistant

HACS Custom Repository GitHub Release Project Maintenance License

pre-commit.ci Build Status

About

Integrates support for the uHoo air quality monitor into Home Assistant.

This integration has been tested with the uHoo home device. It might work with the business uHoo Aura device but that is untested.

uHoo device view

Installation

HACS

Add https://github.com/csacca/uhoo-homeassistant as a custom integration repository and install the uHoo integration.

Manual

Clone or download this repository, and copy the custom_components/uhoo directory into the config/custom_components directory of your Home Assistant instance. Restart Home Assistant.

Configuration

Once installed, the uHoo integration is configured via the Home Assistant UI:

Configuration -> Integrations -> Add -> uHoo (HACS)

When prompted, enter your uHoo username (email address) and password.

uHoo Configuration

Setting up development environment

This project is fully manage using the Poetry dependency manager.

You need at least:

To install all packages, including development dependencies:

poetry install

This repository uses the pre-commit framework and all changes are formatted and linted prior to each commit. To run the checks manually:

poetry run pre-commit run --all-files

To run all project tests:

poetry run pytest