An electricity price integration for Home Assistant from Selectra.
Turn your devices on and off based on the real-time price of electricity. Perfect for off-peak schedules, demand-response programs, and dynamic pricing offers.
This integration is currently in beta. We are actively developing new features and improving reliability. We'd love your feedback — whether it's a bug report, a feature request, or just an idea. Don't hesitate to open an issue or start a discussion!
- Real-time electricity pricing — Access current and upcoming electricity prices for your plan directly in Home Assistant.
- Smart automations — Trigger automations based on price thresholds, off-peak windows, or cheapest upcoming hours.
- Massive coverage — 80 countries, 2,000+ energy providers, and 16,000+ electricity plans supported today.
- Always free — This integration is and will remain free to use.
| Current | Goal (end of 2026) | |
|---|---|---|
| Countries | 80 | Worldwide |
| Energy providers | 2,000+ | All residential providers |
| Electricity plans | 16,000+ | Every residential plan |
Can't find your provider or plan? Open an issue and we'll look into adding it.
- Open HACS in Home Assistant.
- Search for Selectra and install it.
- Restart Home Assistant.
- Go to Settings → Devices & Services → Add Integration → search for Selectra.
Not finding it? Go to HACS → three-dot menu → Custom repositories, paste
https://github.com/Selectra-Dev/selectra-haand select Integration.
- Download the latest release from the Releases page.
- Copy the
custom_components/selectrafolder into your Home Assistantconfig/custom_components/directory. - Restart Home Assistant.
- Go to Settings → Devices & Services → Add Integration → search for Selectra.
After installing, add the integration through the Home Assistant UI. You will be prompted to select your country, energy provider, and electricity plan.
All electricity pricing data is provided by the Selectra Electricity Planning API.
This integration requires an API token. To get one, visit the Selectra Electricity Planning API and follow the instructions to request access.
Need help? Contact us at support.home-assistant@selectra.info.
We welcome contributions of all kinds! Here's how you can help:
- 🐛 Report bugs — Open an issue with steps to reproduce.
- 💡 Suggest features — We're very open to ideas and requests. Tell us what would make this integration more useful for you.
- 🔧 Submit a PR — Fork the repo, make your changes, and open a pull request.
This project is licensed under the Apache License 2.0.
Made with ⚡ by Selectra