{"id":12905,"date":"2024-01-29T15:46:08","date_gmt":"2024-01-29T22:46:08","guid":{"rendered":"https:\/\/smarthomesolver.com\/reviews\/?p=12905"},"modified":"2024-02-04T09:01:32","modified_gmt":"2024-02-04T16:01:32","slug":"10-new-automations-for-2024-how-to-setup","status":"publish","type":"post","link":"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/","title":{"rendered":"10 New Automations for 2024: How To Setup"},"content":{"rendered":"\n<p>In this article I&#8217;ll explain how I set up all 10 of the automations found in my <a href=\"https:\/\/youtu.be\/cBIo9KhnBhA\" target=\"_blank\" rel=\"noreferrer noopener\">latest video<\/a>. I&#8217;m using Home Assistant for every automation because I think it&#8217;s the best smart home system available right now. Not only that, but it makes it possible to do these automations in a very easy way!<\/p>\n\n\n\n<p>If you want to jump to specific automations, make sure to use the table of contents below.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-text-align-center\"><em><a rel=\"noreferrer noopener\" href=\"http:\/\/smarthomesolver.com\/about\" target=\"_blank\">Affiliate Disclosure<\/a>: This page has affiliate links, which earn us commission at no cost to you.<\/em>&nbsp;<\/p>\n\n\n\n<div id=\"toc_container\" class=\"toc_white no_bullets\"><p class=\"toc_title\">Table of Contents<\/p><ul class=\"toc_list\"><li><a href=\"#Its_a_twister_nbsp\">It\u2019s a twister! \ud83c\udf2a\ufe0f&nbsp;<\/a><\/li><li><a href=\"#Watch_your_step\">Watch your step! \ud83d\udc5f<\/a><\/li><li><a href=\"#Let_the_tiny_terror_sleep\">Let the tiny terror sleep \ud83d\ude34<\/a><\/li><li><a href=\"#Smart_reboot\">Smart reboot \ud83d\udd04<\/a><\/li><li><a href=\"#Basketball_lights\">Basketball lights \ud83c\udfc0<\/a><\/li><li><a href=\"#Fresh_air_alert\">Fresh air alert \ud83d\udedd<\/a><\/li><li><a href=\"#Bribery\">Bribery \ud83c\udf6c<\/a><\/li><li><a href=\"#Watch_the_sunset\">Watch the sunset \ud83c\udf05<\/a><\/li><li><a href=\"#Dad_mode\">Dad mode \ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc67<\/a><\/li><li><a href=\"#TV_light_perfection\">TV light perfection! \ud83d\ude0d<\/a><\/li><\/ul><\/div>\n<h2><span id=\"Its_a_twister_nbsp\">It\u2019s a twister! \ud83c\udf2a\ufe0f&nbsp;<\/span><\/h2>\n\n\n\n<p>We have some <a href=\"https:\/\/allproshadeconcepts.com\/services\/sealed-track-system\/\" target=\"_blank\" rel=\"noreferrer noopener\">outdoor shades<\/a> that can handle some wind, but not extreme wind gusts. So the automation automatically rolls up the shades when the wind gusts are over 25 mph. <\/p>\n\n\n\n<p>I&#8217;m using a <a href=\"https:\/\/amzn.to\/3SxuHhI\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Tempest weather station<\/a> in my backyard for accurate wind speeds. I&#8217;m also using the <a href=\"https:\/\/amzn.to\/3Om6acW\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">BOND controller<\/a> to open\/close my outdoor shades with RF signals. Both Tempest and BOND have integrations into Home Assistant, so that makes everything easy. <\/p>\n\n\n\n<p>Here is a screenshot of the automation. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"408\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.04.42-PM-1024x408.jpg\" alt=\"\" class=\"wp-image-12910\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.04.42-PM-1024x408.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.04.42-PM-300x119.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.04.42-PM-1536x612.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.04.42-PM-2048x815.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.04.42-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Windy outside open up shades\ndescription: \"\"\ntrigger:\n  - platform: numeric_state\n    entity_id:\n      - sensor.st_00050086_wind_gust\n    above: 25\ncondition: &#91;]\naction:\n  - service: cover.open_cover\n    target:\n      entity_id: cover.backyard_shade_all\n    data: {}\nmode: single<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><span id=\"Watch_your_step\">Watch your step! \ud83d\udc5f<\/span><\/h2>\n\n\n\n<p>For this automation I&#8217;m turning on some light strips under my side of the bed when I get up. I&#8217;m using a pressure sensor that is still being developed, but will hopefully be available this year. I&#8217;m using some cheap Kasa light strips because I just need some light to see and nothing fancy. Kasa lights integrate extremely well with Home Assistant, and so does the pressure sensor!<\/p>\n\n\n\n<p>There are two automations. One that turns ON the light when stepping on the mat, and the other turns OFF the light if no one has been stepping on the mat for 30 seconds. <\/p>\n\n\n\n<p>Here is a screenshot of the first automation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"407\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.13.42-PM-1024x407.jpg\" alt=\"\" class=\"wp-image-12914\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.13.42-PM-1024x407.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.13.42-PM-300x119.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.13.42-PM-1536x610.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.13.42-PM-2048x813.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.13.42-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Bed light strips turn on from pressure mat\ndescription: \"\"\ntrigger:\n  - platform: state\n    entity_id:\n      - switch.pressure_mat_pressure_trigger\n    to: \"on\"\ncondition: &#91;]\naction:\n  - service: light.turn_on\n    target:\n      entity_id: light.kasa_kl400_2\n    data: {}\nmode: single<\/code><\/pre>\n\n\n\n<p>Here is a screenshot of the second automation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"423\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.15.56-PM-1024x423.jpg\" alt=\"\" class=\"wp-image-12915\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.15.56-PM-1024x423.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.15.56-PM-300x124.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.15.56-PM-1536x635.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.15.56-PM-2048x847.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.15.56-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Pressure sensor mat turn bed lights off\ndescription: \"\"\ntrigger:\n  - platform: state\n    entity_id:\n      - switch.pressure_mat_pressure_trigger\n    to: \"off\"\n    for:\n      hours: 0\n      minutes: 0\n      seconds: 30\ncondition: &#91;]\naction:\n  - service: light.turn_off\n    target:\n      entity_id: light.kasa_kl400_2\n    data: {}\n    enabled: true\nmode: single<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><span id=\"Let_the_tiny_terror_sleep\">Let the tiny terror sleep \ud83d\ude34<\/span><\/h2>\n\n\n\n<p>We don&#8217;t want our baby to wake up early, so if it&#8217;s nap time, the doorbell needs to ONLY notify our phones when it&#8217;s pressed, and not announce everywhere. I&#8217;m using a smart light switch and a contact sensor on the door to help me know when the baby is asleep. <\/p>\n\n\n\n<p>If the door is closed and the light is off, then the baby is asleep. I&#8217;m using an <a href=\"https:\/\/amzn.to\/3SdO3XM\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Aqara contact sensor<\/a> that uses Zigbee. I love how well this sensor works and how inexpensive it is. BUT, you will need a Zigbee hub or USB dongle for Home Assistant to connect it. You can use any smart light switch and I&#8217;m using Lutron. I&#8217;m also using a Unifi G4 doorbell that integrates great into Home Assistant. <\/p>\n\n\n\n<p>The trigger is when the doorbell is pressed, it checks to make sure it&#8217;s not in the middle of the night and if the baby&#8217;s door is open or the light is on. If passes ALL of that then it will announce on the HomePod speakers someone is at the door. <\/p>\n\n\n\n<p>Here is a screenshot of the automation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"840\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.27.47-PM-1024x840.jpg\" alt=\"\" class=\"wp-image-12919\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.27.47-PM-1024x840.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.27.47-PM-300x246.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.27.47-PM-1536x1261.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.27.47-PM-2048x1681.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.27.47-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Front Doorbell Pressed\ndescription: \"\"\ntrigger:\n  - type: occupied\n    platform: device\n    device_id: 3287bfa01d8528cce1d857ca65ebe56a\n    entity_id: binary_sensor.g4_doorbell_2_doorbell\n    domain: binary_sensor\ncondition:\n  - condition: time\n    after: \"07:00:00\"\n    before: \"21:00:00\"\naction:\n  - service: camera.snapshot\n    target:\n      entity_id: camera.g4_doorbell_2\n    data:\n      filename: \/config\/www\/tmp\/doorbell_snap.jpg\n  - condition: or\n    conditions:\n      - condition: device\n        type: is_on\n        device_id: 1493ac3e934b0a55a7239615580d18f1\n        entity_id: light.kitchen_island_pendants\n        domain: light\n      - condition: state\n        entity_id: binary_sensor.lumi_lumi_sensor_magnet_aq2_opening\n        state: \"on\"\n  - service: media_player.volume_set\n    data:\n      volume_level: 0.5\n    target:\n      entity_id:\n        - media_player.homepod_right_speaker\n        - media_player.homepod_left_speaker\n  - service: tts.google_translate_say\n    data:\n      entity_id: media_player.homepod_right_speaker\n      message: Someone is at the front door.\nmode: single<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><span id=\"Smart_reboot\">Smart reboot \ud83d\udd04<\/span><\/h2>\n\n\n\n<p>I was tired of manually unplugging my smart light strips and plugging them back in when they would go offline. Now it automatically does it for me! I&#8217;m using some DIY light strips <a href=\"https:\/\/youtu.be\/pDdNZ-sPZ7k?si=CpumqrETjEd8qCCC\" target=\"_blank\" rel=\"noreferrer noopener\">I put together<\/a>, but this could apply to any smart device that goes offline. <\/p>\n\n\n\n<p>Home Assistant has a status called &#8220;Unavailable&#8221; that is key to knowing if a device needs to be rebooted. I&#8217;m using any old smart outlet to cut power to the light strips and turn them back on. Then the automation checks to see if the lights are on in the room, and if so it leaves the light strips on, or turns them off if all the other lights are off. <\/p>\n\n\n\n<p>Here is a screenshot of the automation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"798\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.32.12-PM-1024x798.jpg\" alt=\"\" class=\"wp-image-12920\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.32.12-PM-1024x798.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.32.12-PM-300x234.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.32.12-PM-1536x1197.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.32.12-PM-2048x1596.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.32.12-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Reboot WLED if they go offline\ndescription: \"\"\ntrigger:\n  - platform: state\n    entity_id:\n      - light.wled_studio_corner_2\n    to: unavailable\n    for:\n      hours: 0\n      minutes: 5\n      seconds: 0\ncondition: &#91;]\naction:\n  - type: turn_off\n    device_id: 1be127cec893c8318da139a2cf11f8f2\n    entity_id: 3f7840d4d2e792b1c53b648f0f515c10\n    domain: switch\n  - delay:\n      hours: 0\n      minutes: 0\n      seconds: 5\n      milliseconds: 0\n  - type: turn_on\n    device_id: 1be127cec893c8318da139a2cf11f8f2\n    entity_id: 3f7840d4d2e792b1c53b648f0f515c10\n    domain: switch\n  - delay:\n      hours: 0\n      minutes: 0\n      seconds: 20\n      milliseconds: 0\n  - device_id: eaa3e7804452463e5cc1ddf8d9133cba\n    domain: select\n    entity_id: abccdb33a77194743a5b774960c27260\n    type: select_option\n    option: Solid Magenta\n  - delay:\n      hours: 0\n      minutes: 0\n      seconds: 2\n      milliseconds: 0\n  - condition: state\n    entity_id: light.kasa_light_strips_new_fav_2\n    state: \"off\"\n  - type: turn_off\n    device_id: eaa3e7804452463e5cc1ddf8d9133cba\n    entity_id: e9d986deda0cfc053af8095ca9abfb02\n    domain: light\nmode: single<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><span id=\"Basketball_lights\">Basketball lights \ud83c\udfc0<\/span><\/h2>\n\n\n\n<p>I wanted the lights to turn on automatically when we are playing basketball at night. I&#8217;m using a Unifi G4 bullet camera that can detect people to turn ON the lights. There&#8217;s also a second automation to turn OFF the lights if no one is detected for 10 minutes. I&#8217;m using some <a href=\"https:\/\/amzn.to\/3HBnBSW\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Novastella smart flood lights<\/a> that integrate into Home Assistant using the Tuya integration. <\/p>\n\n\n\n<p>The Unifi Protect integration for Home Assistant has the person detection available. Make sure to use the binary_sensor and not the switch. <\/p>\n\n\n\n<p>Here is a screenshot of the first automation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"415\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.34.42-PM-1024x415.jpg\" alt=\"\" class=\"wp-image-12922\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.34.42-PM-1024x415.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.34.42-PM-300x122.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.34.42-PM-1536x623.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.34.42-PM-2048x830.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.34.42-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Basketball lights on\ndescription: Person detected at night the lights turn on\ntrigger:\n  - platform: state\n    entity_id:\n      - binary_sensor.g4_bullet_backyard_person_detected\n    to: \"on\"\ncondition:\n  - condition: time\n    after: \"17:00:00\"\n    before: \"23:00:00\"\naction:\n  - service: light.turn_on\n    target:\n      entity_id:\n        - light.smart_floodlight\n        - light.smart_floodlight_2\n    data: {}\nmode: single<\/code><\/pre>\n\n\n\n<p>Here is a screenshot of the second automation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"420\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.35.52-PM-1024x420.jpg\" alt=\"\" class=\"wp-image-12923\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.35.52-PM-1024x420.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.35.52-PM-300x123.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.35.52-PM-1536x630.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.35.52-PM-2048x840.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.35.52-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Basketball lights off\ndescription: Person not detected at night the lights turn off\ntrigger:\n  - platform: state\n    entity_id:\n      - binary_sensor.g4_bullet_backyard_person_detected\n    to: \"off\"\n    for:\n      hours: 0\n      minutes: 10\n      seconds: 0\ncondition:\n  - condition: time\n    after: \"17:00:00\"\n    before: \"23:30:00\"\naction:\n  - service: light.turn_off\n    target:\n      entity_id:\n        - light.smart_floodlight\n        - light.smart_floodlight_2\n      device_id: &#91;]\n      area_id: &#91;]\n    data: {}\nmode: single<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><span id=\"Fresh_air_alert\">Fresh air alert \ud83d\udedd<\/span><\/h2>\n\n\n\n<p>Using that Unifi camera that can detect people in the backyard, I&#8217;m alerting my family (including myself) if no one has been in the backyard for a while and the weather is nice. I&#8217;m using the Tempest weather station so I can make sure it&#8217;s not raining and all of that, but you could easily use a normal weather integration for this automation. <\/p>\n\n\n\n<p>The trigger is a &#8220;time based trigger&#8221; that doesn&#8217;t happen at dinner time. <\/p>\n\n\n\n<p>Here is a screenshot of the automation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"806\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.43.11-PM-1024x806.jpg\" alt=\"\" class=\"wp-image-12926\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.43.11-PM-1024x806.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.43.11-PM-300x236.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.43.11-PM-1536x1208.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.43.11-PM-2048x1611.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.43.11-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Kids go play outside announcement\ndescription: \"\"\ntrigger:\n  - platform: time\n    at: \"16:00:00\"\n  - platform: time\n    at: \"18:00:00\"\n  - platform: time\n    at: \"19:00:00\"\ncondition:\n  - condition: state\n    entity_id: binary_sensor.g4_bullet_backyard_person_detected\n    state: \"off\"\n    for:\n      hours: 1\n      minutes: 0\n      seconds: 0\n  - condition: numeric_state\n    entity_id: sensor.st_00050086_temperature\n    above: 60\n    below: 85\n  - condition: not\n    conditions:\n      - condition: state\n        entity_id: weather.home\n        state: rainy\n  - condition: state\n    entity_id: input_boolean.tv_on\n    state: \"off\"\naction:\n  - service: media_player.volume_set\n    data:\n      volume_level: 0.4\n    target:\n      entity_id:\n        - media_player.homepod_right_speaker\n        - media_player.homepod_left_speaker\n  - service: tts.google_translate_say\n    data:\n      entity_id: media_player.homepod_right_speaker\n      message: &gt;-\n        It is nice out, so go play in the backyard or I will block Netflix and\n        mute my microphone so I can\u2019t hear your cries. \nmode: single<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><span id=\"Bribery\">Bribery \ud83c\udf6c<\/span><\/h2>\n\n\n\n<p>My kids have been slacking on their chores lately, so I wanted an automation to help motivate them. So I made a chore dashboard they can check off their chores, and when finished <a href=\"https:\/\/amzn.to\/47WIgf6\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">the candy dispenser<\/a> gives them a treat. <\/p>\n\n\n\n<p>I&#8217;m using a Google Nest display to cast a dashboard to the screen. I created two input boolean switches (virtual switches) to mark each chore as complete. Then I set up an automation: when both chores are complete, it sends me a notification with a actionable button I can press to give them candy if they did complete their chores. <\/p>\n\n\n\n<p>Here is a screenshot of the automation to pull up the chore dashboard.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"542\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.49.31-PM-1024x542.jpg\" alt=\"\" class=\"wp-image-12929\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.49.31-PM-1024x542.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.49.31-PM-300x159.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.49.31-PM-1536x813.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.49.31-PM-2048x1085.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.49.31-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Chore Button Pressed\ndescription: \"\"\ntrigger:\n  - device_id: f09eb5f58632e5177ee8ae8d8c87c8bb\n    domain: zha\n    platform: device\n    type: remote_button_short_press\n    subtype: remote_button_short_press\ncondition: &#91;]\naction:\n  - service: script.chore_display_cast_on\n    data: {}\n  - delay:\n      hours: 0\n      minutes: 5\n      seconds: 0\n      milliseconds: 0\n  - service: script.chore_display_stop_casting\n    data: {}\nmode: single<\/code><\/pre>\n\n\n\n<p>I&#8217;m using a script to cast the dashboard so I have the option to use in other automations. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Chore Display Cast On\nsequence:\n  - service: cast.show_lovelace_view\n    data:\n      entity_id: media_player.reed_s_display\n      dashboard_path: lovelace-dash\n      view_path: chore\nmode: single<\/code><\/pre>\n\n\n\n<p>Here is a screenshot of the automation to send me the actionable notification.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"607\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.52.24-PM-1024x607.jpg\" alt=\"\" class=\"wp-image-12930\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.52.24-PM-1024x607.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.52.24-PM-300x178.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.52.24-PM-1536x910.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.52.24-PM-2048x1214.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.52.24-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Chores complete notification\ndescription: \"\"\ntrigger:\n  - platform: state\n    entity_id:\n      - input_boolean.chore_kids_room_clean\n    to: \"on\"\n  - platform: state\n    entity_id:\n      - input_boolean.chore_pick_up_toys\n    to: \"on\"\ncondition:\n  - condition: state\n    entity_id: input_boolean.chore_kids_room_clean\n    state: \"on\"\n  - condition: state\n    entity_id: input_boolean.chore_pick_up_toys\n    state: \"on\"\naction:\n  - service: script.actionable_notification_android\n    data:\n      title: Kids chores are done\n      message: Well the kids say they are (hold to accept)\n      replyevent: chorescomplete\n      buttontitle: Give them candy\nmode: single<\/code><\/pre>\n\n\n\n<p>The script for the actionable notification is there so I can easily change out which phone it goes to, and not change any of the automations that use it. I did a horrible job at naming the script by putting &#8220;Android&#8221; in it, even though it now goes to an iPhone&#8230; but oh well. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Actionable Notification Android\nsequence:\n  - service: notify.mobile_app_iphone_pro_15\n    data:\n      message: \" {{message}} \"\n      title: \" {{title}} \"\n      data:\n        actions:\n          - action: \" {{replyevent}} \"\n            title: \" {{buttontitle}} \"\nmode: single<\/code><\/pre>\n\n\n\n<p>Here is a screenshot of the automation give them candy if I press the button on the notification.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"408\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.55.26-PM-1024x408.jpg\" alt=\"\" class=\"wp-image-12931\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.55.26-PM-1024x408.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.55.26-PM-300x120.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.55.26-PM-1536x612.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.55.26-PM-2048x817.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.55.26-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Chores complete confirm with candy\ndescription: \"\"\ntrigger:\n  - platform: event\n    event_type: mobile_app_notification_action\n    event_data:\n      action: chorescomplete\ncondition: &#91;]\naction:\n  - service: button.press\n    data: {}\n    target:\n      entity_id: button.aqara_aqara_feeder_acn001_feed\n    enabled: true\nmode: single\n<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><span id=\"Watch_the_sunset\">Watch the sunset \ud83c\udf05<\/span><\/h2>\n\n\n\n<p>To make sure we don&#8217;t miss the sunset, I raise <a href=\"https:\/\/allproshadeconcepts.com\/services\/sealed-track-system\/\" target=\"_blank\" rel=\"noreferrer noopener\">the shades<\/a> right before the sun goes down. That way the sun isn&#8217;t shining through the window, but is just behind the mountains. <\/p>\n\n\n\n<p>Here is a screenshot of the automation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"404\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.58.36-PM-1024x404.jpg\" alt=\"\" class=\"wp-image-12933\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.58.36-PM-1024x404.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.58.36-PM-300x118.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.58.36-PM-1536x606.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.58.36-PM-2048x807.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-2.58.36-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Open outdoor shades for the sunset\ndescription: \"\"\ntrigger:\n  - platform: sun\n    event: sunset\n    offset: \"-00:04:00\"\ncondition: &#91;]\naction:\n  - service: cover.open_cover\n    target:\n      entity_id: cover.backyard_shade_all\n    data: {}\nmode: single\n<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><span id=\"Dad_mode\">Dad mode \ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc67<\/span><\/h2>\n\n\n\n<p>When Aly is gone and I&#8217;m at home watching the kids in the evening, I need extra help from my smart home. I have my child&#8217;s favorite YouTube channel pull up on the TV, lights turn pink, and music in their room. <\/p>\n\n\n\n<p>I&#8217;m using the Unifi integration into Home Assistant to know when Aly&#8217;s phone is disconnected from WiFi and mine is still home. That triggers the automation and I&#8217;m using the Apple TV integration with Home Assistant to pull up the YouTube app and pull up a video. <\/p>\n\n\n\n<p>Here is a screenshot of the automation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"794\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.04.29-PM-1024x794.jpg\" alt=\"\" class=\"wp-image-12935\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.04.29-PM-1024x794.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.04.29-PM-300x233.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.04.29-PM-1536x1191.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.04.29-PM-2048x1589.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.04.29-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Dad mode\ndescription: Aly is gone in the evening and Reed is at home with the kids\ntrigger:\n  - platform: state\n    entity_id:\n      - device_tracker.iphone_13_mini\n    to: not_home\n    for:\n      hours: 0\n      minutes: 2\n      seconds: 0\ncondition:\n  - condition: state\n    entity_id: device_tracker.iphone_15_pro_2\n    state: home\n  - condition: time\n    after: \"17:00:00\"\n    before: \"19:00:00\"\n  - condition: state\n    entity_id: input_boolean.tv_on\n    state: \"off\"\naction:\n  - service: input_boolean.turn_on\n    target:\n      entity_id: input_boolean.dad_mode\n    data: {}\n  - service: light.turn_on\n    target:\n      entity_id:\n        - light.hue_lightstrip_plus\n        - light.wiz_rgbww_tunable_76c1e2\n    data:\n      brightness_pct: 100\n      rgb_color:\n        - 255\n        - 0\n        - 200\n  - service: light.turn_off\n    target:\n      entity_id:\n        - light.kitchen_kitchen_lights\n        - light.kitchen_kitchen_back_door_lights\n        - light.dining_room_main_lights\n        - light.family_room_main_lights\n    data: {}\n  - service: automation.trigger\n    target:\n      entity_id: automation.ms_rachel_tv\n    data:\n      skip_condition: true\n    enabled: true\n  - service: media_player.play_media\n    data:\n      media_content_type: routine\n      media_content_id: kidsmusic\n    target:\n      entity_id: media_player.reed_s_3rd_echo_dot\nmode: single<\/code><\/pre>\n\n\n\n<p>Here is the automation for the YouTube video to pull up on the Apple TV. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Ms Rachel on Apple TV\ndescription: \"\"\ntrigger:\n  - platform: event\n    event_type: ms_rachel_tv\n    event_data: {}\ncondition: &#91;]\naction:\n  - service: remote.send_command\n    data:\n      num_repeats: 1\n      delay_secs: 0.4\n      hold_secs: 0\n      command: wakeup\n    target:\n      entity_id: remote.family_room_tv\n  - delay:\n      hours: 0\n      minutes: 0\n      seconds: 6\n      milliseconds: 0\n  - service: media_player.volume_set\n    data:\n      volume_level: 0.4\n    target:\n      entity_id:\n        - media_player.homepod_right_speaker\n        - media_player.homepod_left_speaker\n  - service: media_player.select_source\n    data:\n      source: YouTube\n    target:\n      device_id: 7eac7199358a3c4fe3131e3c05bf0b26\n  - delay:\n      hours: 0\n      minutes: 0\n      seconds: 1\n      milliseconds: 0\n  - service: remote.send_command\n    data:\n      delay_secs: 1\n      hold_secs: 0\n      command: top_menu\n    target:\n      entity_id: remote.family_room_tv\n    alias: Go to main menu\n  - service: remote.send_command\n    data:\n      hold_secs: 0\n      command: top_menu\n      delay_secs: 0.2\n      num_repeats: 2\n    target:\n      entity_id: remote.family_room_tv\n    alias: Double press menu\n  - delay:\n      hours: 0\n      minutes: 0\n      seconds: 2\n      milliseconds: 0\n  - service: remote.send_command\n    data:\n      delay_secs: 0.2\n      hold_secs: 0\n      command: left\n    target:\n      entity_id: remote.family_room_tv\n    alias: Go left\n  - delay:\n      hours: 0\n      minutes: 0\n      seconds: 2\n      milliseconds: 0\n  - service: remote.send_command\n    data:\n      num_repeats: 2\n      delay_secs: 0.1\n      hold_secs: 0\n      command: up\n    target:\n      entity_id: remote.family_room_tv\n    alias: Exit out of app\n  - service: remote.send_command\n    data:\n      delay_secs: 1\n      hold_secs: 0\n      command: menu\n    target:\n      entity_id: remote.family_room_tv\n    alias: Go to main menu\n  - service: media_player.select_source\n    data:\n      source: YouTube\n    target:\n      device_id: 7eac7199358a3c4fe3131e3c05bf0b26\n    alias: Select YouTube\n  - delay:\n      hours: 0\n      minutes: 0\n      seconds: 5\n      milliseconds: 0\n  - alias: Go left\n    service: remote.send_command\n    data:\n      delay_secs: 1\n      command: left\n    target:\n      entity_id: remote.family_room_tv\n    enabled: true\n  - alias: Go up\n    service: remote.send_command\n    data:\n      command: up\n      delay_secs: 1\n    target:\n      entity_id: remote.family_room_tv\n    enabled: true\n  - alias: Select search\n    service: remote.send_command\n    data:\n      delay_secs: 1\n      command: select\n    target:\n      entity_id: remote.family_room_tv\n    enabled: true\n  - service: remote.send_command\n    data:\n      delay_secs: 0.2\n      hold_secs: 0\n      command: right\n      num_repeats: 12\n    target:\n      entity_id: remote.family_room_tv\n    enabled: true\n    alias: Select M\n  - alias: Select search term\n    service: remote.send_command\n    data:\n      delay_secs: 1\n      command: select\n    target:\n      entity_id: remote.family_room_tv\n    enabled: true\n  - service: remote.send_command\n    data:\n      delay_secs: 0.2\n      hold_secs: 0\n      command: right\n      num_repeats: 6\n    target:\n      entity_id: remote.family_room_tv\n    enabled: true\n    alias: Select M\n  - alias: Select search term\n    service: remote.send_command\n    data:\n      delay_secs: 1\n      command: select\n    target:\n      entity_id: remote.family_room_tv\n    enabled: true\n  - service: remote.send_command\n    data:\n      delay_secs: 1\n      command: down\n    target:\n      entity_id: remote.family_room_tv\n    enabled: true\n  - service: remote.send_command\n    data:\n      delay_secs: 1\n      command: right\n    target:\n      entity_id: remote.family_room_tv\n    enabled: true\n  - alias: Select search term\n    service: remote.send_command\n    data:\n      delay_secs: 1\n      command: select\n    target:\n      entity_id: remote.family_room_tv\n    enabled: true\n  - service: remote.send_command\n    data:\n      delay_secs: 0.2\n      hold_secs: 0\n      command: right\n      num_repeats: 5\n    target:\n      entity_id: remote.family_room_tv\n    enabled: true\n  - service: remote.send_command\n    data:\n      delay_secs: 0.2\n      hold_secs: 0\n      command: select\n    target:\n      entity_id: remote.family_room_tv\n    enabled: true\nmode: single<\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2><span id=\"TV_light_perfection\">TV light perfection! \ud83d\ude0d<\/span><\/h2>\n\n\n\n<p>I&#8217;ve always wanted a reliable way to turn off the lights when watching TV at night, and turn the lights back up when the TV is paused. I&#8217;m using the Apple TV integrated with Home Assistant to make this happen. Getting the Apple TV integrated into Home Assistant is so easy, because Home Assistant will detect it on your network and give you a button to set it up for you. <\/p>\n\n\n\n<p>You get access to see if the Apple TV is playing or paused. This happens when you hit the remote or even if the show ends, so that&#8217;s how the lights turn on after the show finishes automatically. You also have access to what app on the Apple TV is being used, so you could only run this if watching Netflix or YouTube. <\/p>\n\n\n\n<p>Also, I made <a href=\"https:\/\/youtu.be\/p-ZO7Qede5s?si=xfCVTDUI_SP22TMT\" target=\"_blank\" rel=\"noreferrer noopener\">a video on my 2nd channel<\/a> explaining how to set it up. <\/p>\n\n\n\n<p>Here is a screenshot of the automation to turn off the lights when something is playing.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"537\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.11.12-PM-1024x537.jpg\" alt=\"\" class=\"wp-image-12937\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.11.12-PM-1024x537.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.11.12-PM-300x157.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.11.12-PM-1536x805.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.11.12-PM-2048x1074.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.11.12-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Living room lights off when TV is playing\ndescription: \"\"\ntrigger:\n  - platform: state\n    entity_id:\n      - media_player.family_room_tv_2\n    to: playing\ncondition:\n  - condition: time\n    after: \"18:00:00\"\n    before: \"23:55:00\"\n  - condition: state\n    entity_id: input_boolean.tv_lights_lock\n    state: \"off\"\naction:\n  - service: scene.turn_on\n    target:\n      entity_id: scene.living_room_off_ha\n    metadata: {}\nmode: single\n<\/code><\/pre>\n\n\n\n<p>Here is a screenshot of the automation to turn on the lights when it&#8217;s paused or the show is finished.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"763\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.12.39-PM-1024x763.jpg\" alt=\"\" class=\"wp-image-12938\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.12.39-PM-1024x763.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.12.39-PM-300x224.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.12.39-PM-1536x1145.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.12.39-PM-2048x1526.jpg 2048w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-3.12.39-PM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here is the YAML code of the automation so you can see exactly what&#8217;s happening.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Family room TV paused turn up lights\ndescription: \"\"\ntrigger:\n  - platform: state\n    entity_id:\n      - media_player.family_room_tv_2\n    to: paused\ncondition:\n  - condition: time\n    after: \"18:00:00\"\n    before: \"23:55:00\"\n  - condition: state\n    entity_id: input_boolean.tv_lights_lock\n    state: \"off\"\naction:\n  - choose:\n      - conditions:\n          - condition: time\n            after: \"18:00:00\"\n            before: \"22:00:00\"\n        sequence:\n          - service: scene.turn_on\n            target:\n              entity_id: scene.evening_living_room_lights_ha\n            metadata: {}\n    default:\n      - service: scene.turn_on\n        target:\n          entity_id: scene.living_room_lights_warm_ha\n        metadata: {}\nmode: single<\/code><\/pre>\n\n\n\n<p>If you want to only have this work for a certain app on the Apple TV just add the App ID to the condition. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"335\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-03-at-2.43.44\u202fPM-1024x335.jpg\" alt=\"\" class=\"wp-image-12971\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-03-at-2.43.44\u202fPM-1024x335.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-03-at-2.43.44\u202fPM-300x98.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-03-at-2.43.44\u202fPM-1536x503.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-03-at-2.43.44\u202fPM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Say you don&#8217;t want it to change the lights when it autoplays on Netflix. Add one more condition to the automation. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"345\" src=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-03-at-2.41.08\u202fPM-1024x345.jpg\" alt=\"\" class=\"wp-image-12972\" srcset=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-03-at-2.41.08\u202fPM-1024x345.jpg 1024w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-03-at-2.41.08\u202fPM-300x101.jpg 300w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-03-at-2.41.08\u202fPM-1536x518.jpg 1536w, https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/02\/Screenshot-2024-02-03-at-2.41.08\u202fPM.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>              - condition: and\n                conditions:\n                  - condition: state\n                    entity_id: media_player.family_room_tv_2\n                    attribute: media_content_type\n                    state: video\n                  - condition: state\n                    entity_id: media_player.family_room_tv_2\n                    attribute: app_id\n                    state: com.netflix.Netflix<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>In this article I&#8217;ll explain how I set up all 10 of the automations found in my latest video. I&#8217;m using Home Assistant for every automation because I think it&#8217;s the best smart home system available right now. Not only <a href=\"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/\"><\/p>\n<div class=\"read-more\">\n<p>Read more &#8250;<\/p>\n<\/div>\n<p><!-- end of .read-more --><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>10 New Automations for 2024: How To Setup | Smart Home Solver<\/title>\n<link rel=\"canonical\" href=\"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"10 New Automations for 2024: How To Setup | Smart Home Solver\" \/>\n<meta property=\"og:description\" content=\"In this article I&#8217;ll explain how I set up all 10 of the automations found in my latest video. I&#8217;m using Home Assistant for every automation because I think it&#8217;s the best smart home system available right now. Not only Read more &#8250;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/\" \/>\n<meta property=\"og:site_name\" content=\"Smart Home Solver\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-29T22:46:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-04T16:01:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.04.42-PM-1024x408.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"17 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/smarthomesolver.com\/reviews\/#website\",\"url\":\"https:\/\/smarthomesolver.com\/reviews\/\",\"name\":\"Smart Home Solver\",\"description\":\"Smart Home Solver\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/smarthomesolver.com\/reviews\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/#primaryimage\",\"inLanguage\":\"en\",\"url\":\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.04.42-PM.jpg\",\"contentUrl\":\"https:\/\/smarthomesolver.com\/reviews\/wp-content\/uploads\/2024\/01\/Screenshot-2024-01-29-at-1.04.42-PM.jpg\",\"width\":1200,\"height\":478},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/#webpage\",\"url\":\"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/\",\"name\":\"10 New Automations for 2024: How To Setup | Smart Home Solver\",\"isPartOf\":{\"@id\":\"https:\/\/smarthomesolver.com\/reviews\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/#primaryimage\"},\"datePublished\":\"2024-01-29T22:46:08+00:00\",\"dateModified\":\"2024-02-04T16:01:32+00:00\",\"author\":{\"@id\":\"https:\/\/smarthomesolver.com\/reviews\/#\/schema\/person\/d7a94f002e37d00d768cdbc8bf0afaa3\"},\"breadcrumb\":{\"@id\":\"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/smarthomesolver.com\/reviews\/\",\"url\":\"https:\/\/smarthomesolver.com\/reviews\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/\",\"url\":\"https:\/\/smarthomesolver.com\/reviews\/10-new-automations-for-2024-how-to-setup\/\",\"name\":\"10 New Automations for 2024: How To Setup\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/smarthomesolver.com\/reviews\/#\/schema\/person\/d7a94f002e37d00d768cdbc8bf0afaa3\",\"name\":\"Reed Kleinman\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/smarthomesolver.com\/reviews\/#personlogo\",\"inLanguage\":\"en\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f0b2a85b039ba9da5470ee40dc5ab57a?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f0b2a85b039ba9da5470ee40dc5ab57a?s=96&r=g\",\"caption\":\"Reed Kleinman\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/smarthomesolver.com\/reviews\/wp-json\/wp\/v2\/posts\/12905"}],"collection":[{"href":"https:\/\/smarthomesolver.com\/reviews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smarthomesolver.com\/reviews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smarthomesolver.com\/reviews\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/smarthomesolver.com\/reviews\/wp-json\/wp\/v2\/comments?post=12905"}],"version-history":[{"count":41,"href":"https:\/\/smarthomesolver.com\/reviews\/wp-json\/wp\/v2\/posts\/12905\/revisions"}],"predecessor-version":[{"id":12975,"href":"https:\/\/smarthomesolver.com\/reviews\/wp-json\/wp\/v2\/posts\/12905\/revisions\/12975"}],"wp:attachment":[{"href":"https:\/\/smarthomesolver.com\/reviews\/wp-json\/wp\/v2\/media?parent=12905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smarthomesolver.com\/reviews\/wp-json\/wp\/v2\/categories?post=12905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smarthomesolver.com\/reviews\/wp-json\/wp\/v2\/tags?post=12905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}