{"id":50458716,"url":"https://github.com/JaccoR/hass-entso-e","last_synced_at":"2026-06-07T13:01:01.439Z","repository":{"id":60655492,"uuid":"542686924","full_name":"JaccoR/hass-entso-e","owner":"JaccoR","description":"Integration for Home Assistant to fetch day ahead energy prices from European countries via ENTSO-e Transparency Platform","archived":false,"fork":false,"pushed_at":"2026-02-16T08:55:54.000Z","size":247,"stargazers_count":265,"open_issues_count":34,"forks_count":60,"subscribers_count":22,"default_branch":"main","last_synced_at":"2026-06-05T07:40:19.516Z","etag":null,"topics":["day-ahead","day-ahead-auction","day-ahead-market","electricity-market","electricity-prices","energy","energy-prices","entso-e","entsoe","hacs","home-assistant","home-automation","homeassistant","integration"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JaccoR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-09-28T16:29:28.000Z","updated_at":"2026-05-22T10:10:57.000Z","dependencies_parsed_at":"2026-02-05T21:01:09.114Z","dependency_job_id":null,"html_url":"https://github.com/JaccoR/hass-entso-e","commit_stats":{"total_commits":125,"total_committers":10,"mean_commits":12.5,"dds":0.256,"last_synced_commit":"b16fdcf8cd9240073ea32bd7052e9f212202f87a"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/JaccoR/hass-entso-e","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaccoR%2Fhass-entso-e","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaccoR%2Fhass-entso-e/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaccoR%2Fhass-entso-e/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaccoR%2Fhass-entso-e/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JaccoR","download_url":"https://codeload.github.com/JaccoR/hass-entso-e/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaccoR%2Fhass-entso-e/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34022032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["day-ahead","day-ahead-auction","day-ahead-market","electricity-market","electricity-prices","energy","energy-prices","entso-e","entsoe","hacs","home-assistant","home-automation","homeassistant","integration"],"created_at":"2026-06-01T04:00:21.171Z","updated_at":"2026-06-07T13:01:01.433Z","avatar_url":"https://github.com/JaccoR.png","language":"Python","funding_links":["https://www.paypal.com/donate/?hosted_button_id=J6LK5FLATEUNC"],"categories":["Custom Integrations","Energy and Electricity"],"sub_categories":["⚡ Energy \u0026 solar"],"readme":"# Home Assistant ENTSO-e Transparency Platform Energy Prices [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?hosted_button_id=J6LK5FLATEUNC)\nCustom component for Home Assistant to fetch energy prices of all European countries from the ENTSO-e Transparency Platform (https://transparency.entsoe.eu/).\nDay ahead energy prices are added as a sensor and can be used in automations to switch equipment. A 24 Hour forecast of the energy prices is in the sensors attributes and can be shown in a graph:\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/31140879/195382579-c87b3285-c599-4e30-867e-1acf9feffabe.png\" width=40% height=40%\u003e\n\u003c/p\u003e\n\n### API Access\nYou need an ENTSO-e Restful API key for this integration. To request this API key, register on the [Transparency Platform](https://transparency.entsoe.eu/) and send an email to transparency@entsoe.eu with “Restful API access” in the subject line. Indicate the\nemail address you entered during registration in the email body.\n\n### Sensors\nThe integration adds the following sensors:\n- Average Day-Ahead Electricity Price Today (This integration carries attributes with all prices)\n- Highest Day-Ahead Electricity Price Today\n- Lowest Day-Ahead Electricity Price Today\n- Current Day-Ahead Electricity Price\n- Current Percentage Relative To Highest Electricity Price Of The Day\n- Next Hour Day-Ahead Electricity Price\n- Time Of Highest Energy Price Today\n- Time Of Lowest Energy Price Today\n  \n------\n## Installation\n\n### HACS\n\nSearch for \"ENTSO-e\" when adding HACS integrations and add \"ENTSO-e Transparency Platform\". \n\nOr use this link to go directly there: [![Or use this link.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=JaccoR\u0026repository=hass-entso-e\u0026category=integration) \n\nRestart Home Assistant and add the integration through Settings. \n\n### Manual\nDownload this repository and place the contents of `custom_components` in your own `custom_components` map of your Home Assistant installation. Restart Home Assistant and add the integration through your settings. \n\n------\n## Configuration\n\nThe sensors can be added using the integration page.\n\n#### Add integration\n\n1. Go to Settings =\u003e Devices and Services\n2. Click the button \"+ Add integration\". \n2. Search for \"entso\n3. Click on the Entso-e to start te configuration flow.\n\n In the config flow you can add your API-key and country and the sensors will automatically be added to your system. There is an optional field for a cost modifyer template and resulting currency.\n\n### Cost Modifyer Template\n\nIn the optional field `Price Modifyer Template` a template to modify the price to add additional costs (such as fixed costs per kWh and VAT) and currency conversion (based on a currency sensor) can be specified. When left empty, no additional costs are added.\nIn this template `now()` always refers start of the hour of that price and `current_price` refers to the price itself. This way day ahead price can be modified to correct for extra costs.\n\nAn example template is given below. You can find and share other templates [here](https://github.com/JaccoR/hass-entso-e/discussions/categories/price-modifyer-templates).\n```\n{% set s = {\n    \"extra_cost\": 0.5352,\n    \"winter_night\": 0.265,\n    \"winter_day\": 0.465,\n    \"summer_day\": 0.284,\n    \"summer_night\": 0.246,\n    \"VAT\": 0.21\n}\n%}\n{% if now().month \u003e= 5 and now().month \u003c11 %}\n    {% if now().hour \u003e=6 and now().hour \u003c23 %}\n        {{(current_price + s.summer_day+s.extra_cost) * s.VAT | float}}\n    {% else %}\n        {{(current_price + s.summer_night + s.extra_cost) * s.VAT | float}}\n    {% endif %}\n{% else %}\n    {% if now().hour \u003e=6 and now().hour \u003c23 %}\n        {{(current_price + s.winter_day + s.extra_cost) * s.VAT | float}}\n    {%else%}\n        {{(current_price + s.winter_night + s.extra_cost) * s.VAT | float}}\n    {% endif %}\n{% endif %}\n```\n### Calculation method\nThis changes the calculated (min,max,avg values) entities behaviour to one of:\n\n- Sliding\nThe min/max/etc entities will get updated every hour with only upcoming data.\nThis means that the min price returned at 13:00 will be the lowest price in the future (as available from that point in time).\nRegardless of past hours that might have had a lower price (this is most useful if you want to be able to schedule loads as soon and cheap as possible)\n\n- Default (on publish)\nThe min/max/etc entities will get updated once new data becomes available.\nThis means that the min price will update once the next days pricing becomes available (usually between 12:00 and 15:00)\nIt also means that until the next days pricing becomes available the latest 48h of available data will be used to calculate a min price\n\n- Rotation\nThe min/max/etc entities will get updated at midnight.\nThis means that the min price returned at 23:59 will  be based on the day x price while at 00:00 the day x+1 price will be the only one used in the calculations)\nday x in this case is a random date like 2022-10-10 and day x+1 2022-10-11\n\n\n### ApexChart Graph\nPrices can be shown using the [ApexChart Graph Card](https://github.com/RomRider/apexcharts-card) like in the example above. The Lovelace code for this graph is given below:\n\n```\ntype: custom:apexcharts-card\ngraph_span: 24h\nspan:\n  start: day\nnow:\n  show: true\n  label: Now\nheader:\n  show: true\n  title: Electriciteitsprijzen Vandaag (€/kwh)\nyaxis:\n  - decimals: 2\nseries:\n  # This is the entity ID with no name configured.\n  # When a name is configured it will be sensor.\u003cname\u003e_average_electricity_price.\n  - entity: sensor.average_electricity_price\n    stroke_width: 2\n    float_precision: 3\n    type: column\n    opacity: 1\n    color: ''\n    data_generator: |\n      return entity.attributes.prices.map((entry) =\u003e { \n      return [new Date(entry.time), entry.price];\n      });\n\n```\n\n\n------\n\n#### Updates\n\nThe integration is in an early state and receives a lot of updates. If you already setup this integration and encounter an error after updating, please try redoing the above installation steps. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJaccoR%2Fhass-entso-e","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJaccoR%2Fhass-entso-e","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJaccoR%2Fhass-entso-e/lists"}