{
    "id": 4229,
    "date": "2026-11-22T19:17:10",
    "date_gmt": "2026-11-22T17:17:10",
    "guid": {
        "rendered": "http:\/\/realhomeautomations.com\/bg\/projects\/kolko-struva-tokat-v-realni-pari-dnevna-i-noshtna-tarifa\/"
    },
    "modified": "2026-11-25T17:20:24",
    "modified_gmt": "2026-11-25T15:20:24",
    "slug": "kolko-struva-tokat-v-realni-pari-dnevna-i-noshtna-tarifa",
    "status": "publish",
    "type": "diy_project",
    "link": "https:\/\/realhomeautomations.com\/en\/projects\/kolko-struva-tokat-v-realni-pari-dnevna-i-noshtna-tarifa\/",
    "title": {
        "rendered": "What electricity really costs in money: day and night tariff at the regulated price"
    },
    "content": {
        "rendered": "<p class=\"wp-block-paragraph\">Home Assistant shows how many kilowatt-hours (kWh) the home has used. The bill, however, is in leva and depends on the hour: day and night energy have different prices. If you set the prices, the \u201cEnergy\u201d dashboard will show an approximate value in money, not only in kWh.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you will learn<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">How to record a price per kWh in Home Assistant, how to separate day from night consumption and why the result is approximate. We don\u2019t give electricity prices: they change and depend on your contract and supplier. Take them from your latest bill or from the regulator&#8217;s published decision for the period.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you need<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Home Assistant with an already working sensor for <strong>energy in kWh<\/strong>that only increases (a total energy meter or a metering plug). Power in W is not enough.<\/li><li>A latest bill or a published regulated price for day and night energy.<\/li><li>If the meter is dual-tariff: information on which hours are the day tariff and which the night one. The hours are in the contract or on the supplier&#8217;s website.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How it works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Home Assistant can calculate cost in two ways. The first is a <strong>fixed price<\/strong>: one number for all kWh. The second is a <strong>price sensor<\/strong>: a value that changes over time, for example between day and night. The dual-tariff case uses the second.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To know how many kWh are day and how many night, we use the helper <strong>Utility Meter<\/strong> with two tariffs. It counts the energy in two separate counters and switches between them with your automation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simeon takes the price from the HACS integration &#8220;Bulgarian Electricity Regulated Prices&#8221;, with the supplier Energo-Pro and two tariffs. The night tariff is 22:00\u201306:00 in winter time, and the hours follow the integration. His main electricity meter is a Shelly EM Gen3.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>In <strong>Settings \u2192 Dashboards \u2192 Energy<\/strong> check that the total consumption sensor has been added. If there is one price, under &#8220;Use a static price&#8221; enter the price per kWh from the bill. You are done here.<\/li><li>For two tariffs, open <strong>Settings \u2192 Devices &amp; services \u2192 Helpers \u2192 Create helper \u2192 Utility Meter<\/strong>. Set a name, choose your energy sensor and add two tariffs, for example <code>day<\/code> and <code>night<\/code>. You should see two new sensors appear, one per tariff, and a selector of the current tariff.<\/li><li>Create an automation that switches the selector by hour. The hours in the example are <strong>examples<\/strong>; replace them with your own:<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Tariff - day\/night\nmode: single\ntriggers:\n  - trigger: time\n    at: \"06:00:00\"\n  - trigger: time\n    at: \"22:00:00\"\n  - trigger: homeassistant\n    event: start\nactions:\n  - action: select.select_option\n    target:\n      entity_id: select.energy_tariff\n    data:\n      option: &gt;\n        {{ 'day' if 6 &lt;= now().hour &lt; 22 else 'night' }}<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\"><li>Create a price sensor. In <strong>Helpers \u2192 Create helper \u2192 Template \u2192 Template a sensor<\/strong> set a template that returns the day or night price depending on the selector. The numbers <code>0.00<\/code> are a placeholder. Enter your prices:<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>{{ 0.00 if is_state('select.energy_tariff', 'day') else 0.00 }}<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\"><li>In the Energy dashboard for consumption, choose &#8220;Use an entity tracking the price&#8221; and point to this sensor. Its unit must be a currency per kWh.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Checking the result<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Compare the counter readings for day and night with the electricity meter at the end of several days.<\/li><li>The sum of the two counters should match the total consumption.<\/li><li>After a restart, the tariff selector should point to the right tariff, because the automation also reacts at start.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">If it doesn&#8217;t work<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Everything is counted in one tariff \u2192 the automation doesn&#8217;t switch the selector \u2192 check the entity ID of <code>select<\/code> and the hours.<\/li><li>The price in the dashboard is zero \u2192 the template returns 0 or <code>unknown<\/code> \u2192 check in Developer tools \u2192 Template.<\/li><li>Energy jumps on restart \u2192 the sensor loses its value \u2192 use a sensor with <code>state_class: total_increasing<\/code>.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Limitations<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>The calculation in Home Assistant is approximate. The bill includes fees, surcharges and taxes that you may not have added to the price.<\/li><li>If the supplier changes the price, you have to update it manually. The old days keep the price at which they were calculated only if you used a price sensor, not a fixed one.<\/li><li>This project doesn&#8217;t control appliances. It only shows a result.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Sources and verification status<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Checked against the documentation on 22.11.2026.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.home-assistant.io\/docs\/energy\/electricity-grid\/\">Home Assistant: Energy \u2013 Electricity grid<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/utility_meter\/\">Home Assistant: Utility Meter<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/template\/\">Home Assistant: Template integration<\/a><\/li><\/ul>",
        "protected": false
    },
    "excerpt": {
        "rendered": "<p>How to set a day and a night electricity price in Home Assistant, so that you see consumption in leva and not only in kWh. You take the prices from your own bill; we don\u2019t give numbers.<\/p>",
        "protected": false
    },
    "author": 0,
    "featured_media": 841,
    "template": "",
    "diy_project_category": [
        63
    ],
    "diy_project_tag": [
        54,
        160,
        66,
        201
    ],
    "class_list": [
        "post-4229",
        "diy_project",
        "type-diy_project",
        "status-publish",
        "has-post-thumbnail",
        "hentry",
        "diy_project_category-63",
        "diy_project_tag-home-assistant",
        "diy_project_tag-energia",
        "diy_project_tag-66",
        "diy_project_tag-tarifi"
    ],
    "acf": {
        "_diysmart_difficulty": "intermediate",
        "_diysmart_featured": false,
        "_diysmart_build_duration_min": 45,
        "_diysmart_build_duration_max": 90,
        "_diysmart_build_duration_unit": "minutes",
        "_diysmart_home_assistant": "yes",
        "_diysmart_works_offline": "",
        "_diysmart_electrician": "no",
        "_diysmart_reading_time_override": "",
        "_diysmart_required_tools_rows": [
            {
                "label": "Home Assistant",
                "note": "with a configured Energy dashboard"
            },
            {
                "label": "An energy sensor in kWh",
                "note": "an electricity meter, a metering device or an integration with a cumulative value"
            },
            {
                "label": "Latest bill",
                "note": "for the price of day and night energy"
            }
        ],
        "_diysmart_learning_outcomes_rows": [
            {
                "outcome": "Understand the difference between price, power and energy"
            },
            {
                "outcome": "Set two prices in the Energy dashboard"
            },
            {
                "outcome": "Count the energy separately for day and night"
            },
            {
                "outcome": "Know why the total in Home Assistant is not equal to the bill"
            }
        ],
        "_diysmart_skill_requirements_rows": [
            {
                "requirement": "Find an energy sensor in Home Assistant",
                "note": ""
            },
            {
                "requirement": "Create a helper in Settings \u2192 Devices & services \u2192 Helpers",
                "note": ""
            }
        ],
        "_diysmart_at_home": {
            "who": "",
            "since": "",
            "story": "",
            "image": "",
            "caption": ""
        },
        "_diysmart_linked_product_id": 1775,
        "_diysmart_youtube_url": "",
        "_diysmart_github_url": ""
    },
    "yoast_head": "<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What electricity really costs in money: day and night tariff at the regulated price - Real Home Automations<\/title>\n<meta name=\"description\" content=\"How to set a day and a night electricity price in Home Assistant, so that you see consumption in leva and not only in kWh. You take the prices from your own bill; we don\u2019t give numbers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4229\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What electricity really costs in money: day and night tariff at the regulated price - Real Home Automations\" \/>\n<meta property=\"og:description\" content=\"How to set a day and a night electricity price in Home Assistant, so that you see consumption in leva and not only in kWh. You take the prices from your own bill; we don\u2019t give numbers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4229\" \/>\n<meta property=\"og:site_name\" content=\"Real Home Automations\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-25T15:20:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-plug-sonoff-s60tpf-16a-with-energy-monitoring.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"896\" \/>\n\t<meta property=\"og:image:height\" content=\"824\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/electricity-cost-in-money-day-night-tariff\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/electricity-cost-in-money-day-night-tariff\\\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"What electricity really costs in money: day and night tariff at the regulated price\",\"datePublished\":\"2026-11-22T17:17:10+00:00\",\"dateModified\":\"2026-11-25T15:20:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/electricity-cost-in-money-day-night-tariff\\\/\"},\"wordCount\":673,\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/electricity-cost-in-money-day-night-tariff\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-plug-sonoff-s60tpf-16a-with-energy-monitoring.webp\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/electricity-cost-in-money-day-night-tariff\\\/\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/electricity-cost-in-money-day-night-tariff\\\/\",\"name\":\"What electricity really costs in money: day and night tariff at the regulated price - Real Home Automations\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/electricity-cost-in-money-day-night-tariff\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/electricity-cost-in-money-day-night-tariff\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-plug-sonoff-s60tpf-16a-with-energy-monitoring.webp\",\"datePublished\":\"2026-11-22T17:17:10+00:00\",\"dateModified\":\"2026-11-25T15:20:24+00:00\",\"description\":\"How to set a day and a night electricity price in Home Assistant, so that you see consumption in leva and not only in kWh. You take the prices from your own bill; we don\u2019t give numbers.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/electricity-cost-in-money-day-night-tariff\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/kolko-struva-tokat-v-realni-pari-dnevna-i-noshtna-tarifa\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/electricity-cost-in-money-day-night-tariff\\\/#primaryimage\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-plug-sonoff-s60tpf-16a-with-energy-monitoring.webp\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-plug-sonoff-s60tpf-16a-with-energy-monitoring.webp\",\"width\":896,\"height\":824,\"caption\":\"Smart plug Sonoff S60TPF, 16A, with energy monitoring\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/electricity-cost-in-money-day-night-tariff\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041f\u0440\u043e\u0435\u043a\u0442\u0438\",\"item\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"What electricity really costs in money: day and night tariff at the regulated price\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/\",\"name\":\"Real Home Automations\",\"description\":\"Open smart-home products and complete DIY projects\",\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/realhomeautomations.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Organization\",\"OnlineStore\"],\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\",\"name\":\"Real Home Automations\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/favicon-512.png\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/favicon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Real Home Automations\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"legalName\":\"\u201e\u0415\u0421 \u041a\u0415\u0419 \u0421\u041e\u0424\u0422\u0423\u0415\u0420\u201c \u0415\u041e\u041e\u0414\",\"vatID\":\"BG206246651\",\"taxID\":\"206246651\",\"email\":\"office@realhomeautomations.com\",\"telephone\":\"+359893232863\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"\u0443\u043b. \u201e\u0420\u0430\u0434\u0435\u0446\u043a\u0438\u201c 13, \u0435\u0442. 2, \u0430\u043f. 1\",\"addressLocality\":\"\u0412\u0430\u0440\u043d\u0430\",\"postalCode\":\"9000\",\"addressCountry\":\"BG\"},\"contactPoint\":{\"@type\":\"ContactPoint\",\"contactType\":\"customer support\",\"email\":\"office@realhomeautomations.com\",\"telephone\":\"+359893232863\",\"availableLanguage\":[\"bg\",\"en\"]},\"hasMerchantReturnPolicy\":{\"@type\":\"MerchantReturnPolicy\",\"applicableCountry\":\"BG\",\"returnPolicyCategory\":\"https:\\\/\\\/schema.org\\\/MerchantReturnFiniteReturnWindow\",\"merchantReturnDays\":14,\"returnMethod\":\"https:\\\/\\\/schema.org\\\/ReturnByMail\",\"returnFees\":\"https:\\\/\\\/schema.org\\\/ReturnFeesCustomerResponsibility\",\"merchantReturnLink\":\"https:\\\/\\\/realhomeautomations.com\\\/en\\\/returns\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->",
    "yoast_head_json": {
        "title": "What electricity really costs in money: day and night tariff at the regulated price - Real Home Automations",
        "description": "How to set a day and a night electricity price in Home Assistant, so that you see consumption in leva and not only in kWh. You take the prices from your own bill; we don\u2019t give numbers.",
        "robots": {
            "index": "index",
            "follow": "follow",
            "max-snippet": "max-snippet:-1",
            "max-image-preview": "max-image-preview:large",
            "max-video-preview": "max-video-preview:-1"
        },
        "canonical": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4229",
        "og_locale": "en_US",
        "og_type": "article",
        "og_title": "What electricity really costs in money: day and night tariff at the regulated price - Real Home Automations",
        "og_description": "How to set a day and a night electricity price in Home Assistant, so that you see consumption in leva and not only in kWh. You take the prices from your own bill; we don\u2019t give numbers.",
        "og_url": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4229",
        "og_site_name": "Real Home Automations",
        "article_modified_time": "2026-11-25T15:20:24+00:00",
        "og_image": [
            {
                "width": 896,
                "height": 824,
                "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-plug-sonoff-s60tpf-16a-with-energy-monitoring.webp",
                "type": "image\/jpeg"
            }
        ],
        "twitter_card": "summary_large_image",
        "twitter_misc": {
            "Est. reading time": "4 minutes"
        },
        "schema": {
            "@context": "https:\/\/schema.org",
            "@graph": [
                {
                    "@type": "TechArticle",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/electricity-cost-in-money-day-night-tariff\/#article",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/electricity-cost-in-money-day-night-tariff\/"
                    },
                    "author": {
                        "name": "",
                        "@id": ""
                    },
                    "headline": "What electricity really costs in money: day and night tariff at the regulated price",
                    "datePublished": "2026-11-22T17:17:10+00:00",
                    "dateModified": "2026-11-25T15:20:24+00:00",
                    "mainEntityOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/electricity-cost-in-money-day-night-tariff\/"
                    },
                    "wordCount": 673,
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/electricity-cost-in-money-day-night-tariff\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-plug-sonoff-s60tpf-16a-with-energy-monitoring.webp",
                    "inLanguage": "en-US"
                },
                {
                    "@type": "WebPage",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/electricity-cost-in-money-day-night-tariff\/",
                    "url": "http:\/\/realhomeautomations.com\/en\/projects\/electricity-cost-in-money-day-night-tariff\/",
                    "name": "What electricity really costs in money: day and night tariff at the regulated price - Real Home Automations",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#website"
                    },
                    "primaryImageOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/electricity-cost-in-money-day-night-tariff\/#primaryimage"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/electricity-cost-in-money-day-night-tariff\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-plug-sonoff-s60tpf-16a-with-energy-monitoring.webp",
                    "datePublished": "2026-11-22T17:17:10+00:00",
                    "dateModified": "2026-11-25T15:20:24+00:00",
                    "description": "How to set a day and a night electricity price in Home Assistant, so that you see consumption in leva and not only in kWh. You take the prices from your own bill; we don\u2019t give numbers.",
                    "breadcrumb": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/electricity-cost-in-money-day-night-tariff\/#breadcrumb"
                    },
                    "inLanguage": "en-US",
                    "potentialAction": [
                        {
                            "@type": "ReadAction",
                            "target": [
                                "http:\/\/realhomeautomations.com\/bg\/projects\/kolko-struva-tokat-v-realni-pari-dnevna-i-noshtna-tarifa\/"
                            ]
                        }
                    ]
                },
                {
                    "@type": "ImageObject",
                    "inLanguage": "en-US",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/electricity-cost-in-money-day-night-tariff\/#primaryimage",
                    "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-plug-sonoff-s60tpf-16a-with-energy-monitoring.webp",
                    "contentUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-plug-sonoff-s60tpf-16a-with-energy-monitoring.webp",
                    "width": 896,
                    "height": 824,
                    "caption": "Smart plug Sonoff S60TPF, 16A, with energy monitoring"
                },
                {
                    "@type": "BreadcrumbList",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/electricity-cost-in-money-day-night-tariff\/#breadcrumb",
                    "itemListElement": [
                        {
                            "@type": "ListItem",
                            "position": 1,
                            "name": "Home",
                            "item": "http:\/\/realhomeautomations.com\/bg\/"
                        },
                        {
                            "@type": "ListItem",
                            "position": 2,
                            "name": "\u041f\u0440\u043e\u0435\u043a\u0442\u0438",
                            "item": "http:\/\/realhomeautomations.com\/bg\/projects\/"
                        },
                        {
                            "@type": "ListItem",
                            "position": 3,
                            "name": "What electricity really costs in money: day and night tariff at the regulated price"
                        }
                    ]
                },
                {
                    "@type": "WebSite",
                    "@id": "http:\/\/realhomeautomations.com\/en\/#website",
                    "url": "http:\/\/realhomeautomations.com\/en\/",
                    "name": "Real Home Automations",
                    "description": "Open smart-home products and complete DIY projects",
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "potentialAction": [
                        {
                            "@type": "SearchAction",
                            "target": {
                                "@type": "EntryPoint",
                                "urlTemplate": "https:\/\/realhomeautomations.com\/en\/?s={search_term_string}"
                            },
                            "query-input": {
                                "@type": "PropertyValueSpecification",
                                "valueRequired": true,
                                "valueName": "search_term_string"
                            }
                        }
                    ],
                    "inLanguage": "en-US"
                },
                {
                    "@type": [
                        "Organization",
                        "OnlineStore"
                    ],
                    "@id": "http:\/\/realhomeautomations.com\/en\/#organization",
                    "name": "Real Home Automations",
                    "url": "http:\/\/realhomeautomations.com\/en\/",
                    "logo": {
                        "@type": "ImageObject",
                        "inLanguage": "en-US",
                        "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/logo\/image\/",
                        "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/favicon-512.png",
                        "contentUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/favicon-512.png",
                        "width": 512,
                        "height": 512,
                        "caption": "Real Home Automations"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/logo\/image\/"
                    },
                    "legalName": "\u201e\u0415\u0421 \u041a\u0415\u0419 \u0421\u041e\u0424\u0422\u0423\u0415\u0420\u201c \u0415\u041e\u041e\u0414",
                    "vatID": "BG206246651",
                    "taxID": "206246651",
                    "email": "office@realhomeautomations.com",
                    "telephone": "+359893232863",
                    "address": {
                        "@type": "PostalAddress",
                        "streetAddress": "\u0443\u043b. \u201e\u0420\u0430\u0434\u0435\u0446\u043a\u0438\u201c 13, \u0435\u0442. 2, \u0430\u043f. 1",
                        "addressLocality": "\u0412\u0430\u0440\u043d\u0430",
                        "postalCode": "9000",
                        "addressCountry": "BG"
                    },
                    "contactPoint": {
                        "@type": "ContactPoint",
                        "contactType": "customer support",
                        "email": "office@realhomeautomations.com",
                        "telephone": "+359893232863",
                        "availableLanguage": [
                            "bg",
                            "en"
                        ]
                    },
                    "hasMerchantReturnPolicy": {
                        "@type": "MerchantReturnPolicy",
                        "applicableCountry": "BG",
                        "returnPolicyCategory": "https:\/\/schema.org\/MerchantReturnFiniteReturnWindow",
                        "merchantReturnDays": 14,
                        "returnMethod": "https:\/\/schema.org\/ReturnByMail",
                        "returnFees": "https:\/\/schema.org\/ReturnFeesCustomerResponsibility",
                        "merchantReturnLink": "https:\/\/realhomeautomations.com\/en\/returns\/"
                    }
                }
            ]
        }
    },
    "_links": {
        "self": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4229",
                "targetHints": {
                    "allow": [
                        "GET"
                    ]
                }
            }
        ],
        "collection": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project"
            }
        ],
        "about": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/types\/diy_project"
            }
        ],
        "version-history": [
            {
                "count": 3,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4229\/revisions"
            }
        ],
        "predecessor-version": [
            {
                "id": 4494,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4229\/revisions\/4494"
            }
        ],
        "acf:post": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/product\/1775"
            }
        ],
        "wp:featuredmedia": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media\/841"
            }
        ],
        "wp:attachment": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media?parent=4229"
            }
        ],
        "wp:term": [
            {
                "taxonomy": "diy_project_category",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_category?post=4229"
            },
            {
                "taxonomy": "diy_project_tag",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_tag?post=4229"
            }
        ],
        "curies": [
            {
                "name": "wp",
                "href": "https:\/\/api.w.org\/{rel}",
                "templated": true
            }
        ]
    }
}