Skip to content

ScottG489/ha-dae

Repository files navigation

ha-dae

DAE integration for Home Assistant.

Features

  • Sensors for raw meter values

Installation

First add this repository as a custom repository.

Setup

Open your Home Assistant instance and start setting up a new integration.

Development

Run the following to set up your development environment

python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements_test.txt

To run Home Assistant with this integration loaded:

hass -c config

Testing

To run unit tests with coverage:

pytest tests --cov=custom_components.dae --cov-report term-missing

Releasing

Create a new GitHub release. The release workflow takes care of the rest. When finished, it will be available to download via HACS.