Swiss Electricity Price (ElCom)

Swiss Electricity Price (ElCom)

Swiss Electricity Price (ElCom) — tariffs for any Swiss grid operator

Every Swiss distribution grid operator is legally required (Art. 7b StromVV) to publish its tariffs as a machine-readable file and report the link to the Swiss Federal Electricity Commission (ElCom). This integration reads that file directly — works with any of the ~600 registered operators, not just one specific utility.

What it does

  • All energy + grid tariff products created dynamically from the selected operator’s live data (no hardcoded product names) — automatic high/low tariff switching by weekday + time
  • sensor.elcom_<operator>_price_current — your actual combined electricity price (energy + grid + municipal surcharge + national levies + VAT), with a full plain-text breakdown of the calculation as an attribute
  • sensor.elcom_<operator>_tariff_level — whether you’re currently on high or low tariff
  • All metering fees and every served municipality’s surcharge as individual sensors
  • number.elcom_<operator>_national_levies / number.elcom_<operator>_vat_percent — directly adjustable, no restart needed, since these aren’t part of any operator’s own tariff file
  • sensor.elcom_<operator>_diagnostics_host / _path / _filename / _year / _last_checked — exactly which tariff file is in use right now and when it was last checked
  • Energy and grid tariff product picked separately during setup, straight from the operator’s own product list — operators don’t name or pair them consistently, so guessing the match automatically isn’t reliable
  • Auto-discovers the tariff file’s URL every year (operators re-report annually, filenames change) — no manual updates needed at the start of a new tariff year
  • Fully manual rate entry as a fallback for operators with no working machine-readable link
  • Multi-language (DE/EN/FR/IT)

Install via HACS
Add as a custom repository: https://github.com/prusuino/ha_swiss_electricity_price

GitHub: GitHub - prusuino/ha_swiss_electricity_price: Home Assistant integration for Swiss electricity tariffs (ElCom) - works with any Swiss grid operator · GitHub