{"id":3508,"date":"2024-09-24T13:35:04","date_gmt":"2024-09-24T13:35:04","guid":{"rendered":"https:\/\/www.creatingsmarthome.com\/?p=3508"},"modified":"2024-09-30T04:58:00","modified_gmt":"2024-09-30T04:58:00","slug":"home-assistant-entso-e-cheapest-hours-with-aio-energy-management-0-2-0","status":"publish","type":"post","link":"https:\/\/www.creatingsmarthome.com\/index.php\/2024\/09\/24\/home-assistant-entso-e-cheapest-hours-with-aio-energy-management-0-2-0\/","title":{"rendered":"Home Assistant: Entso-E cheapest hours with AIO Energy Management 0.2.0"},"content":{"rendered":"\n<p>I&#8217;ve got some requests recently to build a <strong>support for cheapest prices automation for people using Entso-E API integration<\/strong> and it&#8217;s finally here, in a form of <strong>AIO Energy Management 0.2.0<\/strong>. Entso-E can be used by most parts of the EU as where Nord Pool only was used by nordic countries.. so now hopefully even more European people can automate their homes to save money in terms of energy prices \ud83d\ude42<\/p>\n\n\n\n<p><em>This is a continuation for <a href=\"https:\/\/www.creatingsmarthome.com\/index.php\/2024\/07\/27\/home-assistant-nord-pool-cheapest-hours-with-aio-energy-management\/\" target=\"_blank\" rel=\"noreferrer noopener\">Nord Pool support on AIO Energy Management<\/a> so please read technical details and installation of the component from the <a href=\"https:\/\/www.creatingsmarthome.com\/index.php\/2024\/07\/27\/home-assistant-nord-pool-cheapest-hours-with-aio-energy-management\/\">previous article<\/a>.<\/em><\/p>\n\n\n\n<p><em>Project is also available to at my <a href=\"https:\/\/github.com\/kotope\/aio_energy_management\/tree\/main\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub project page<\/a>. Please feel to open issues, create feature requests or even commit code to the project!<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Entso-E integration<\/h2>\n\n\n\n<p>Before starting with the AIO Energy Management configurations, <strong><a href=\"https:\/\/github.com\/JaccoR\/hass-entso-e\" target=\"_blank\" rel=\"noreferrer noopener\">Entso-E integration<\/a><\/strong> is required to be installed on the Home Assistant. To get Entso-E integration installed, start by checking out <a href=\"https:\/\/github.com\/JaccoR\/hass-entso-e\" target=\"_blank\" rel=\"noreferrer noopener\">Entso-E GitHub project page<\/a>. The project page contains installation guide and all the necessay information to  get API access to Entso-E transparency platform. All credits for <a href=\"https:\/\/github.com\/JaccoR\">JaccoR<\/a> for his great work with Entso-E.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring AIO Energy Management for Entso-E<\/h2>\n\n\n\n<p>AIO Energy Management does not currently support Home Assistant config flow, so all the configuration has to be done directly on configuration.yaml.<\/p>\n\n\n\n<p>When using Entso-E integration instead of Nord Pool, everything works exactly the same: all you need to do is to change <em>nordpool_entity<\/em> configuration to <em>entsoe_entity<\/em>. That&#8217;s it! (again, ready the <a href=\"https:\/\/www.creatingsmarthome.com\/index.php\/2024\/07\/27\/home-assistant-nord-pool-cheapest-hours-with-aio-energy-management\/\">previous article<\/a> if unclear).<\/p>\n\n\n\n<p><strong>Be aware that Entso-E integration provides more than one sensor and the extra attributes required by AIO Energy Management are located on average_price sensor.  Use that specific in the entsoe_entity configuration.<\/strong> Here&#8217;s a full example to get four cheapest hours from entso-e every night between 20:00-09:00:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>aio_energy_management:\n    cheapest_hours:\n      - entsoe_entity: sensor.entsoe_average_price\n        unique_id: my_entsoe_cheapest_hours\n        name: My Entso-E Cheapest Hours\n        first_hour: 21\n        last_hour: 8\n        starting_today: true\n        number_of_hours: 4\n        sequential: false\n        failsafe_starting: 22<\/code><\/pre>\n\n\n\n<p>Above configuration will create a <em>binary_sensor<\/em> entity called &#8216;My Entso-E Cheapest Hours&#8217; that will have &#8216;on&#8217; state on the cheapest four hours during the night. You can then create an automation to follow the binary_sensor status to turn on and off devices during cheapest hours.<\/p>\n\n\n\n<p>The above configuration also has a failsafe_starting set to 22 meaning that if no prices are available from entso-e entity, the state will turn to on at 22:00 and off at 02:00 (four hours).<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<div style=\"border: 3px dashed #abb8c3; border-radius: 0%; background-color: inherit; \" class=\"ub-styled-box ub-bordered-box wp-block-ub-styled-box\" id=\"ub-styled-box-d8ac6cdb-cf57-4c65-9863-a5496326a731\">\n<p id=\"ub-styled-box-bordered-content-f1e9c72d-2e9d-462e-b5a0-f78fc62f6b13\"><h5 class=\"wp-block-heading has-text-align-center\">Did you find this guide helpful? You can keep the blog going by bidding me a coffee!<\/h5>\r\n<center>\r\n<script type=\"text\/javascript\" src=\"https:\/\/cdnjs.buymeacoffee.com\/1.0.0\/button.prod.min.js\" data-name=\"bmc-button\" data-slug=\"tokorhon\" data-color=\"#FFDD00\" data-emoji=\"\"  data-font=\"Cookie\" data-text=\"Buy me a coffee\" data-outline-color=\"#000000\" data-font-color=\"#000000\" data-coffee-color=\"#ffffff\" ><\/script>\r\n<\/center><\/p>\n\n\n<\/div>","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve got some requests recently to build a support for cheapest prices automation for people using Entso-E API integration and it&#8217;s finally here, in a&hellip;<\/p>\n","protected":false},"author":1,"featured_media":3535,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[100],"tags":[401,224,393,131,106,402,394,7,47,403],"class_list":["post-3508","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-home-assistant","tag-aio-energy-management","tag-cheapest-hours","tag-custom-component","tag-energy-management","tag-energy-saving","tag-entso-e","tag-github","tag-home-assistant","tag-integration","tag-transparency-platform","has-post-thumbnail-archive"],"acf":[],"featured_image_src":"https:\/\/www.creatingsmarthome.com\/wp-content\/uploads\/2024\/09\/aio_energy_banner-entso-e.png","author_info":{"display_name":"Toni","author_link":"https:\/\/www.creatingsmarthome.com\/index.php\/author\/topsy\/"},"_links":{"self":[{"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/posts\/3508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/comments?post=3508"}],"version-history":[{"count":25,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/posts\/3508\/revisions"}],"predecessor-version":[{"id":3543,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/posts\/3508\/revisions\/3543"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/media\/3535"}],"wp:attachment":[{"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/media?parent=3508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/categories?post=3508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creatingsmarthome.com\/index.php\/wp-json\/wp\/v2\/tags?post=3508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}