{
    "id": 4213,
    "date": "2026-11-22T19:15:48",
    "date_gmt": "2026-11-22T17:15:48",
    "guid": {
        "rendered": "http:\/\/realhomeautomations.com\/bg\/projects\/topla-banya-za-decata-tochno-navreme-nagrevatelyat-tragva-predi-kapeneto\/"
    },
    "modified": "2026-11-25T17:20:21",
    "modified_gmt": "2026-11-25T15:20:21",
    "slug": "topla-banya-za-decata-tochno-navreme-nagrevatelyat-tragva-predi-kapeneto",
    "status": "publish",
    "type": "diy_project",
    "link": "https:\/\/realhomeautomations.com\/en\/projects\/topla-banya-za-decata-tochno-navreme-nagrevatelyat-tragva-predi-kapeneto\/",
    "title": {
        "rendered": "A warm bath for the kids right on time: the heater starts before bath time"
    },
    "content": {
        "rendered": "<p class=\"wp-block-paragraph\">The kids walk into a cold bathroom and complain. The heater can warm it up in advance: Home Assistant starts it a little before the usual bath time and stops it afterwards, and you don&#8217;t have to remember anything.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you will get<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A heater on a smart plug that switches on by schedule before bath time, and a \u201cBath time now\u201d button for the days when the time is different. The heater always switches itself off after a set time.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What we need<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/realhomeautomations.com\/bg\/produkt\/sonoff-s60zbtpf-zigbee-smart-plug\/\">Sonoff S60ZBTPF 16 A Zigbee smart plug<\/a>: one for the heater.<\/li><li>An electric heater designed for a bathroom. We don&#8217;t sell it.<\/li><li>Home Assistant and a phone with the Home Assistant app.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">You need a Zigbee hub or Home Assistant with a Zigbee adapter.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Setup time:<\/strong> about 30\u201345 minutes.<\/li><li><strong>Skills:<\/strong> you create helper values and paste YAML.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How it works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A helper value \u201cbath time\u201d (<code>input_datetime<\/code>) says when the kids bathe. The automation starts 30 minutes before that time (an example), switches the heater on and switches it off after a time that you decide. A button on the dashboard starts it right away.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The lead time depends on the bathroom and the heater. Measure it: run the heater and see how many minutes it takes to be pleasant.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Create the time.<\/strong> Settings \u2192 Devices &amp;amp; services \u2192 Helpers \u2192 Create helper \u2192 Date and\/or time \u2192 time only. Name \u201cBath time\u201d, entity ID <code>input_datetime.bath_time<\/code> (an example).<\/li><li><strong>Measure the lead time.<\/strong> On a reasonable day, run the heater and write down how many minutes you wait for it. Here we use 30 minutes, the lead time Simeon uses.<\/li><li><strong>Scheduled automation.<\/strong> Edit in YAML.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: \"Bathroom: warm-up before bath time\"\nmode: single\ntriggers:\n  - trigger: time\n    at:\n      entity_id: input_datetime.bath_time\n      offset: \"-00:30:00\"\nactions:\n  - action: switch.turn_on\n    target:\n      entity_id: switch.bathroom_heater_plug\n  - delay: \"00:50:00\"\n  - action: switch.turn_off\n    target:\n      entity_id: switch.bathroom_heater_plug<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">30 minutes of lead time and 50 minutes until switch-off (about 80 minutes in total) are examples. Reduce \u201c00:50:00\u201d according to how long the bath takes.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>\u201cBath time now\u201d button.<\/strong> Create a script with the same actions without the time, and put it on the dashboard.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: \"Bathroom: warm up now\"\nmode: single\nsequence:\n  - action: switch.turn_on\n    target:\n      entity_id: switch.bathroom_heater_plug\n  - delay: \"00:45:00\"\n  - action: switch.turn_off\n    target:\n      entity_id: switch.bathroom_heater_plug<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Add a safeguard.<\/strong> The delay <code>delay<\/code> is lost on a Home Assistant restart. Use the second safeguard from the project <a href=\"https:\/\/realhomeautomations.com\/bg\/projects\/nagrevatel-zabraven-vklyuchen-spira-se-sam-sled-60-minuti-i-izvestyava\/\">A heater left on<\/a>.<\/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><strong>Time.<\/strong> Set a time a few minutes ahead to test. The heater switches on by schedule.<\/li><li><strong>Switching off.<\/strong> After the set time, the plug switches off.<\/li><li><strong>Button.<\/strong> Press \u201cwarm up now\u201d and check the switch-off.<\/li><li><strong>Power.<\/strong> With the heater turned on, check the W in Home Assistant.<\/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><strong>It won&#8217;t start.<\/strong> The time isn&#8217;t set or <code>offset<\/code> is set wrongly. See Traces.<\/li><li><strong>The bathroom is cold.<\/strong> Increase the lead time.<\/li><li><strong>It stays on.<\/strong> A Home Assistant restart during the <code>delay<\/code>. Add the second safeguard.<\/li><li><strong>The plug is <code>unavailable<\/code>.<\/strong> The signal is weak in the bathroom: check the nearest mains-powered Zigbee device.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Limitations and switching off<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>The heater runs unattended only if that is permitted and safe for it; judge it by the instructions.<\/li><li>The system doesn&#8217;t know whether the bathroom is already warm or whether there is a person in it.<\/li><li>If Home Assistant isn&#8217;t running, there is no schedule either.<\/li><li>Switching off: turn off the automation and the script; the plug stays an ordinary one.<\/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\">The material follows the Home Assistant documentation, read on 22.11.2026. The topic is from Simeon&#8217;s list of ideas.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.home-assistant.io\/docs\/automation\/trigger\/\">Home Assistant: automations, triggers (time with offset)<\/a>, 22.11.2026<\/li><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/input_datetime\/\">Home Assistant: Input datetime<\/a>, 22.11.2026<\/li><li><a href=\"https:\/\/www.home-assistant.io\/docs\/scripts\/\">Home Assistant: scripts<\/a>, 22.11.2026<\/li><li>Real Home Automations catalogue: Sonoff S60ZBTPF (product description), 22.11.2026<\/li><\/ul>",
        "protected": false
    },
    "excerpt": {
        "rendered": "<p>A bath time, a smart plug and an automation in Home Assistant start the bathroom heater a little before the kids and switch it off by themselves.<\/p>",
        "protected": false
    },
    "author": 0,
    "featured_media": 40,
    "template": "",
    "diy_project_category": [
        63
    ],
    "diy_project_tag": [
        54,
        118,
        179,
        177
    ],
    "class_list": [
        "post-4213",
        "diy_project",
        "type-diy_project",
        "status-publish",
        "has-post-thumbnail",
        "hentry",
        "diy_project_category-63",
        "diy_project_tag-home-assistant",
        "diy_project_tag-118",
        "diy_project_tag-bezopasnost",
        "diy_project_tag-otoplenie"
    ],
    "acf": {
        "_diysmart_difficulty": "intermediate",
        "_diysmart_featured": false,
        "_diysmart_build_duration_min": 30,
        "_diysmart_build_duration_max": 45,
        "_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": ""
            },
            {
                "label": "Smart plug",
                "note": "Sonoff S60ZBTPF 16 A"
            },
            {
                "label": "Electric heater for a bathroom",
                "note": "not sold by us"
            },
            {
                "label": "A phone with the Home Assistant app",
                "note": "with notifications allowed"
            },
            {
                "label": "Zigbee hub or adapter",
                "note": "or Home Assistant with a Zigbee adapter; not included in the product"
            }
        ],
        "_diysmart_learning_outcomes_rows": [
            {
                "outcome": "Set a bath time"
            },
            {
                "outcome": "Switch the heater on beforehand and have it switch off by itself"
            }
        ],
        "_diysmart_skill_requirements_rows": [
            {
                "requirement": "Create helper values and a script",
                "note": ""
            },
            {
                "requirement": "Put YAML into an automation",
                "note": ""
            }
        ],
        "_diysmart_at_home": {
            "who": "",
            "since": "",
            "story": "",
            "image": "",
            "caption": ""
        },
        "_diysmart_linked_product_id": 39,
        "_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>A warm bath for the kids right on time: the heater starts before bath time - Real Home Automations<\/title>\n<meta name=\"description\" content=\"A bath time, a smart plug and an automation in Home Assistant start the bathroom heater a little before the kids and switch it off by themselves.\" \/>\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\/4213\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A warm bath for the kids right on time: the heater starts before bath time - Real Home Automations\" \/>\n<meta property=\"og:description\" content=\"A bath time, a smart plug and an automation in Home Assistant start the bathroom heater a little before the kids and switch it off by themselves.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4213\" \/>\n<meta property=\"og:site_name\" content=\"Real Home Automations\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-25T15:20:21+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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/warm-bath-for-kids-on-time\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/warm-bath-for-kids-on-time\\\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"A warm bath for the kids right on time: the heater starts before bath time\",\"datePublished\":\"2026-11-22T17:15:48+00:00\",\"dateModified\":\"2026-11-25T15:20:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/warm-bath-for-kids-on-time\\\/\"},\"wordCount\":571,\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/warm-bath-for-kids-on-time\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/wifishop-sonoff-s60zbtpf.webp\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/warm-bath-for-kids-on-time\\\/\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/warm-bath-for-kids-on-time\\\/\",\"name\":\"A warm bath for the kids right on time: the heater starts before bath time - Real Home Automations\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/warm-bath-for-kids-on-time\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/warm-bath-for-kids-on-time\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/wifishop-sonoff-s60zbtpf.webp\",\"datePublished\":\"2026-11-22T17:15:48+00:00\",\"dateModified\":\"2026-11-25T15:20:21+00:00\",\"description\":\"A bath time, a smart plug and an automation in Home Assistant start the bathroom heater a little before the kids and switch it off by themselves.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/warm-bath-for-kids-on-time\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/topla-banya-za-decata-tochno-navreme-nagrevatelyat-tragva-predi-kapeneto\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/warm-bath-for-kids-on-time\\\/#primaryimage\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/wifishop-sonoff-s60zbtpf.webp\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/wifishop-sonoff-s60zbtpf.webp\",\"width\":900,\"height\":1200,\"caption\":\"Sonoff S60ZBTPF Zigbee Smart Plug\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/warm-bath-for-kids-on-time\\\/#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\":\"A warm bath for the kids right on time: the heater starts before bath time\"}]},{\"@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": "A warm bath for the kids right on time: the heater starts before bath time - Real Home Automations",
        "description": "A bath time, a smart plug and an automation in Home Assistant start the bathroom heater a little before the kids and switch it off by themselves.",
        "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\/4213",
        "og_locale": "en_US",
        "og_type": "article",
        "og_title": "A warm bath for the kids right on time: the heater starts before bath time - Real Home Automations",
        "og_description": "A bath time, a smart plug and an automation in Home Assistant start the bathroom heater a little before the kids and switch it off by themselves.",
        "og_url": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4213",
        "og_site_name": "Real Home Automations",
        "article_modified_time": "2026-11-25T15:20:21+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": "3 minutes"
        },
        "schema": {
            "@context": "https:\/\/schema.org",
            "@graph": [
                {
                    "@type": "TechArticle",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/warm-bath-for-kids-on-time\/#article",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/warm-bath-for-kids-on-time\/"
                    },
                    "author": {
                        "name": "",
                        "@id": ""
                    },
                    "headline": "A warm bath for the kids right on time: the heater starts before bath time",
                    "datePublished": "2026-11-22T17:15:48+00:00",
                    "dateModified": "2026-11-25T15:20:21+00:00",
                    "mainEntityOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/warm-bath-for-kids-on-time\/"
                    },
                    "wordCount": 571,
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/warm-bath-for-kids-on-time\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/wifishop-sonoff-s60zbtpf.webp",
                    "inLanguage": "en-US"
                },
                {
                    "@type": "WebPage",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/warm-bath-for-kids-on-time\/",
                    "url": "http:\/\/realhomeautomations.com\/en\/projects\/warm-bath-for-kids-on-time\/",
                    "name": "A warm bath for the kids right on time: the heater starts before bath time - Real Home Automations",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#website"
                    },
                    "primaryImageOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/warm-bath-for-kids-on-time\/#primaryimage"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/warm-bath-for-kids-on-time\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/wifishop-sonoff-s60zbtpf.webp",
                    "datePublished": "2026-11-22T17:15:48+00:00",
                    "dateModified": "2026-11-25T15:20:21+00:00",
                    "description": "A bath time, a smart plug and an automation in Home Assistant start the bathroom heater a little before the kids and switch it off by themselves.",
                    "breadcrumb": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/warm-bath-for-kids-on-time\/#breadcrumb"
                    },
                    "inLanguage": "en-US",
                    "potentialAction": [
                        {
                            "@type": "ReadAction",
                            "target": [
                                "http:\/\/realhomeautomations.com\/bg\/projects\/topla-banya-za-decata-tochno-navreme-nagrevatelyat-tragva-predi-kapeneto\/"
                            ]
                        }
                    ]
                },
                {
                    "@type": "ImageObject",
                    "inLanguage": "en-US",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/warm-bath-for-kids-on-time\/#primaryimage",
                    "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/wifishop-sonoff-s60zbtpf.webp",
                    "contentUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/wifishop-sonoff-s60zbtpf.webp",
                    "width": 900,
                    "height": 1200,
                    "caption": "Sonoff S60ZBTPF Zigbee Smart Plug"
                },
                {
                    "@type": "BreadcrumbList",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/warm-bath-for-kids-on-time\/#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": "A warm bath for the kids right on time: the heater starts before bath time"
                        }
                    ]
                },
                {
                    "@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\/4213",
                "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": 2,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4213\/revisions"
            }
        ],
        "predecessor-version": [
            {
                "id": 4282,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4213\/revisions\/4282"
            }
        ],
        "acf:post": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/product\/39"
            }
        ],
        "wp:featuredmedia": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media\/40"
            }
        ],
        "wp:attachment": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media?parent=4213"
            }
        ],
        "wp:term": [
            {
                "taxonomy": "diy_project_category",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_category?post=4213"
            },
            {
                "taxonomy": "diy_project_tag",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_tag?post=4213"
            }
        ],
        "curies": [
            {
                "name": "wp",
                "href": "https:\/\/api.w.org\/{rel}",
                "templated": true
            }
        ]
    }
}