A HACS custom integration that scrapes live energy tariff prices from share-energy.com and exposes them as Home Assistant sensor entities.
| Entity | Description | Unit |
|---|---|---|
sensor.share_24_credit_unit_rate |
Share 24 Credit unit rate | p/kWh |
sensor.share_24_credit_standing_charge |
Share 24 Credit standing charge | p/day |
sensor.share_ev_day_rate |
Share EV day rate | p/kWh |
sensor.share_ev_night_rate |
Share EV night rate | p/kWh |
sensor.share_ev_standing_charge |
Share EV standing charge | p/day |
sensor.share_eco_7_day_rate |
Share Eco 7 day rate | p/kWh |
sensor.share_eco_7_night_rate |
Share Eco 7 night rate | p/kWh |
sensor.share_eco_7_heat_rate |
Share Eco 7 heat rate | p/kWh |
sensor.share_eco_7_standing_charge |
Share Eco 7 standing charge | p/day |
sensor.share_24_keypad_unit_rate |
Share 24 Keypad unit rate | p/kWh |
sensor.share_24_keypad_standing_charge |
Share 24 Keypad standing charge | p/day |
sensor.share_eco_7_keypad_day_rate |
Share Eco 7 Keypad day rate | p/kWh |
sensor.share_eco_7_keypad_night_rate |
Share Eco 7 Keypad night rate | p/kWh |
sensor.share_eco_7_keypad_standing_charge |
Share Eco 7 Keypad standing charge | p/day |
All prices are inc. VAT as shown on the website. Prices refresh every hour.
Share Energy does not offer a public API or data feed for tariff prices. There is no official Home Assistant integration, no unofficial community integration, and no machine-readable endpoint — pricing is only published on their website. Web scraping is therefore the only viable mechanism to retrieve this data programmatically.
A daily automated test monitors the live page and raises a GitHub issue automatically if the website structure changes and prices can no longer be extracted.
- In HACS, go to Integrations → Custom repositories
- Add
https://github.com/Cormac131/HomeAssistant-ShareEnergywith category Integration - Install Share Energy from the HACS store
- Restart Home Assistant
- Go to Settings → Devices & Services → Add Integration and search for Share Energy
- Copy
custom_components/share_energy/into your HAconfig/custom_components/directory - Restart Home Assistant
- Add the integration via the UI as above
This repository — including the integration code, tests, CI workflow, and documentation — was entirely generated by Claude Code, Anthropic's AI coding assistant.
