{"id":55,"date":"2022-08-16T20:47:00","date_gmt":"2022-08-16T20:47:00","guid":{"rendered":"https:\/\/overthinking.tech\/?p=55"},"modified":"2025-02-13T00:35:03","modified_gmt":"2025-02-13T00:35:03","slug":"home-assistant-a-script-for-your-dashboard-with-a-condition-tutorial","status":"publish","type":"post","link":"https:\/\/overthinking.tech\/?p=55","title":{"rendered":"Home Assistant &#8211; A Script for your Dashboard with a Condition | Tutorial"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Home Assistant - A Script for your Dashboard with a Condition | Tutorial\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/iyDQQCL9n14?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>A tutorial for creating a script in Home Assistant that controls the brightness and color of a light with a conditional statement. Then I show how to put a button on your dashboard that triggers the script.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A tutorial for creating a script in Home Assistant that controls the brightness and color of a light with a conditional statement. Then I show how to put a button<\/p>\n<p><a href=\"https:\/\/overthinking.tech\/?p=55\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\">Home Assistant &#8211; A Script for your Dashboard with a Condition | Tutorial<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":56,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-55","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-youtube"],"_links":{"self":[{"href":"https:\/\/overthinking.tech\/index.php?rest_route=\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/overthinking.tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/overthinking.tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/overthinking.tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/overthinking.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=55"}],"version-history":[{"count":1,"href":"https:\/\/overthinking.tech\/index.php?rest_route=\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":57,"href":"https:\/\/overthinking.tech\/index.php?rest_route=\/wp\/v2\/posts\/55\/revisions\/57"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/overthinking.tech\/index.php?rest_route=\/wp\/v2\/media\/56"}],"wp:attachment":[{"href":"https:\/\/overthinking.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/overthinking.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/overthinking.tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}