Installation¶
HAFO can be installed via HACS (recommended) or manually.
HACS Installation (Recommended)¶
- Open HACS in your Home Assistant instance
- Click on "Integrations"
- Click the three dots in the top right corner
- Select "Custom repositories"
- Add this repository URL:
https://github.com/hass-energy/hafo - Select "Integration" as the category
- Click "Add"
- Search for "HAFO" and click "Download"
- Restart Home Assistant
Manual Installation¶
-
Download the latest release from the releases page
-
Extract the
hafofolder to yourcustom_componentsdirectory -
Your directory structure should look like:
-
Restart Home Assistant
Prerequisites¶
HAFO requires:
- Home Assistant 2025.12.2 or newer
- The Recorder integration (enabled by default)
- Historical statistics for the entities you want to forecast
Check Recorder Settings
HAFO uses the Home Assistant recorder's hourly statistics. Make sure your source entities are being recorded and have at least a few days of history.