<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat? in Home Automation</title>
    <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/671677#M51090</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello, I'm getting an error that I just can't figure out and hoping you can help. &amp;nbsp;I'm still very new to this script language.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;actions:&lt;BR /&gt;- type: device.command.OnOff&lt;BR /&gt;on: true&lt;BR /&gt;devices: Master Bedroom Fan - Master Bedroom&lt;BR /&gt;- type: device.command.OnOff &amp;nbsp; &amp;nbsp;&amp;lt;------ error (below) on this line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Invalid YAML syntax. These are sometimes indentation errors. Please visit &lt;/SPAN&gt;&lt;A href="https://developers.home.google.com/automations/eap/cse#understanding_yaml" target="_blank" rel="noopener"&gt;this link&lt;/A&gt;&lt;SPAN&gt; to learn more about YAML&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2025 15:22:15 GMT</pubDate>
    <dc:creator>EmptyNester</dc:creator>
    <dc:date>2025-01-23T15:22:15Z</dc:date>
    <item>
      <title>Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/577780#M42022</link>
      <description>&lt;P&gt;Hello everyone, &amp;nbsp;I want to do something that seems simple but I'm overwhelmed by how the automation programming works.&lt;/P&gt;
&lt;P&gt;All I need is when my Nest Thermostats turns ON the Heat in the house that my living room ceiling fan (in Smart Things) turns ON. &amp;nbsp;Then when the heat turns OFF the fan turns off.&lt;/P&gt;
&lt;P&gt;Is this relatively easy to do?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 01:19:03 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/577780#M42022</guid>
      <dc:creator>EmptyNester</dc:creator>
      <dc:date>2024-01-19T01:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/577902#M42054</link>
      <description>&lt;P&gt;In theory it should be easy...&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the google home app, go to the automations section.&lt;/LI&gt;&lt;LI&gt;Click the + sign to add a new automation.&lt;/LI&gt;&lt;LI&gt;Select 'Household'&amp;nbsp; (Personal routines cannot be started from device activity)&lt;/LI&gt;&lt;LI&gt;Click "+ Add starter"&lt;/LI&gt;&lt;LI&gt;Click "When a device does something"&lt;/LI&gt;&lt;LI&gt;Hopefully, you'll see the Nest Termostat.&amp;nbsp; Click on it and you'll see the options you have for starting the routine.&amp;nbsp; Note: These are the only choices you have, if none of them are satisfactory I'm afraid you're out of luck.&amp;nbsp; Assuming things are okay, continue with step 7.&lt;/LI&gt;&lt;LI&gt;Click 'Add starter'&lt;/LI&gt;&lt;LI&gt;Click "+ Add Action'&lt;/LI&gt;&lt;LI&gt;Click "Adjust Home Devices"&lt;/LI&gt;&lt;LI&gt;Click on your fan and set it to turn on.&lt;/LI&gt;&lt;LI&gt;Click "Add action"&lt;/LI&gt;&lt;LI&gt;Add the top, you'll see the name of your automation (for a new automation it should be called "Untitled"&lt;/LI&gt;&lt;LI&gt;Click on the pencil icon and give you automation a better name.&lt;/LI&gt;&lt;LI&gt;Click "Save"&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I know this seems like a lot but once you get the hang of it, it goes pretty fast.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 15:30:26 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/577902#M42054</guid>
      <dc:creator>ImNotANestUser</dc:creator>
      <dc:date>2024-01-19T15:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/577961#M42061</link>
      <description>&lt;P&gt;Thank you so much for the reply. &amp;nbsp; Yes, it looks easy. &amp;nbsp; Unfortunately I got stuck at #6 as it doesn't offer the choice of when heat actually turns on/off. &amp;nbsp; &amp;nbsp;It only offers "Mode Change" which is when the Mode of the thermostats is changed from heating to cooling or OFF or ECO, etc. &amp;nbsp; It also lets me choose when certain temperates are met. &amp;nbsp;But that isn't quite what I'm looking for.&lt;/P&gt;
&lt;P&gt;I will send them some Feedback requesting this change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 17:48:01 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/577961#M42061</guid>
      <dc:creator>EmptyNester</dc:creator>
      <dc:date>2024-01-19T17:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/594088#M44398</link>
      <description>&lt;P&gt;Nest not showing&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 06:07:40 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/594088#M44398</guid>
      <dc:creator>SmittyKen12</dc:creator>
      <dc:date>2024-02-08T06:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/671592#M51080</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Here is the code to do this successfully&amp;nbsp;&lt;/STRONG&gt;- There are two automations. One to turn on fan(s) based on heating or cooling. The other turns fan(s) off. A third automation can be added in between the automations to change the speed of the fans to the desired strength.&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name: Start Nest Heat or Cool - Turn on fan&amp;nbsp;&lt;/P&gt;&lt;P&gt;automations:&lt;BR /&gt;# ---- STARTERS ---- #&lt;BR /&gt;starters:&lt;BR /&gt;- type: device.state.TemperatureSetting&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;state: activeThermostatMode&lt;BR /&gt;&amp;nbsp; &amp;nbsp;is: heat&lt;BR /&gt;&amp;nbsp; &amp;nbsp;device: Nest - Hallway&amp;nbsp;&lt;BR /&gt;- type: device.state.TemperatureSetting&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;state: activeThermostatMode&lt;BR /&gt;&amp;nbsp; &amp;nbsp;is: cool&lt;BR /&gt;&amp;nbsp; &amp;nbsp;device: Nest - Hallway&amp;nbsp;&lt;/P&gt;&lt;P&gt;# ---- CONDITIONS ---- #&lt;BR /&gt;#condition:&lt;BR /&gt;#type: device.state.TemperatureSetting # For devices that support temperature points and modes.&lt;/P&gt;&lt;P&gt;# ---- ACTIONS ---- #&lt;BR /&gt;actions:&lt;BR /&gt;- type: device.command.OnOff&lt;BR /&gt;&amp;nbsp; on: true&lt;BR /&gt;&amp;nbsp; devices: Master Bedroom Fan - Master Bedroom&lt;BR /&gt;- type: device.command.OnOff&amp;nbsp;&lt;BR /&gt;&amp;nbsp; on: true&lt;BR /&gt;&amp;nbsp; devices: 72' Artiste Fan - Living room&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To Turn off the fan when not actively heating or cooling&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name: End Heat or Cool - Turn off fans&amp;nbsp;&lt;/P&gt;&lt;P&gt;automations:&lt;BR /&gt;# ---- STARTERS ---- #&lt;BR /&gt;starters:&lt;BR /&gt;- type: device.state.TemperatureSetting&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;device: Nest - Hallway&lt;BR /&gt;&amp;nbsp; &amp;nbsp;state: activeThermostatMode&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;isNot: heat&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;# ---- CONDITIONS ---- #&lt;BR /&gt;condition:&lt;BR /&gt;type: or&amp;nbsp; &amp;nbsp;#checks if either is on, then turn off&lt;BR /&gt;conditions:&lt;BR /&gt;- type: device.state.OnOff&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;state: on&lt;BR /&gt;&amp;nbsp; &amp;nbsp;is: true&lt;BR /&gt;&amp;nbsp; &amp;nbsp;device: Master Bedroom Fan - Master Bedroom&lt;BR /&gt;- type: device.state.OnOff&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;state: on&lt;BR /&gt;&amp;nbsp; &amp;nbsp;is: true&lt;BR /&gt;&amp;nbsp; &amp;nbsp;device: 72' Artiste Fan - Living room&lt;/P&gt;&lt;P&gt;# ---- ACTIONS ---- #&lt;BR /&gt;actions:&amp;nbsp; &amp;nbsp; #turn off the following fans&lt;BR /&gt;- type: device.command.OnOff&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;on: false&lt;BR /&gt;&amp;nbsp; &amp;nbsp;devices: Master Bedroom Fan - Master Bedroom&lt;BR /&gt;- type: device.command.OnOff&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;on: false&lt;BR /&gt;&amp;nbsp; &amp;nbsp;devices: 72' Artiste Fan - Living room&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the documentation to help you customize your own script:&amp;nbsp;&lt;A href="https://developers.home.google.com/cloud-to-cloud/traits/temperaturesetting" target="_blank" rel="noopener"&gt;https://developers.home.google.com/cloud-to-cloud/traits/temperaturesetting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For additional context here is a snippet from the Automation log. I've bolded the key value for the active_thermostat_mode. &lt;STRONG&gt;active_thermostat_mode&amp;nbsp;&lt;/STRONG&gt;will be "heat" or "cool" for only a moment when the HVAC system switches from "heat mode but furnance not on" to "heat mode now furnance is on". After those first few seconds, the value of&amp;nbsp;&lt;STRONG&gt;active_thermostat_mode&amp;nbsp;&lt;/STRONG&gt;will be "none". Therefore the "isNot": heat is the key to getting the fan or switch to turn off. Luckily the webhook call from Nest back to Google Home doesn't happen every 15 seconds, but only listens for database state changes.&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;[INFO] Automation started by: [Nest] because [home.graph.traits.TemperatureSetting/thermostat_mode] [string_value: "heat"].&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;[INFO] Automation started by: [Nest] because [home.graph.traits.TemperatureSetting/thermostat_temperature_setpoint] [float_value: 20.555555].&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;[INFO] Automation started by: [Nest] because [home.graph.traits.TemperatureSetting/thermostat_temperature_ambient] [float_value: 20.919998].&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;[INFO] Automation started by: [Nest] because [home.graph.traits.TemperatureSetting/thermostat_humidity_ambient] [float_value: 39.5].&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;[INFO] Automation started by: [Nest] because &lt;STRONG&gt;[home.graph.traits.TemperatureSetting/active_thermostat_mode] [string_value: "none"].&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;[INFO] Automation started by: [Nest] because [home.graph.traits.TemperatureSetting/target_temp_reached_estimate_unix_timestamp_sec] [long_value: 0].&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 26 Jan 2025 03:53:21 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/671592#M51080</guid>
      <dc:creator>youngkrs</dc:creator>
      <dc:date>2025-01-26T03:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/671615#M51083</link>
      <description>&lt;P&gt;This is excellent! &amp;nbsp;Thank you so much. &amp;nbsp;I will give it a try tomorrow. &amp;nbsp;Hopefully I can get it to work. &amp;nbsp;I will let you know.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 04:39:50 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/671615#M51083</guid>
      <dc:creator>EmptyNester</dc:creator>
      <dc:date>2025-01-23T04:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/671677#M51090</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello, I'm getting an error that I just can't figure out and hoping you can help. &amp;nbsp;I'm still very new to this script language.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;actions:&lt;BR /&gt;- type: device.command.OnOff&lt;BR /&gt;on: true&lt;BR /&gt;devices: Master Bedroom Fan - Master Bedroom&lt;BR /&gt;- type: device.command.OnOff &amp;nbsp; &amp;nbsp;&amp;lt;------ error (below) on this line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Invalid YAML syntax. These are sometimes indentation errors. Please visit &lt;/SPAN&gt;&lt;A href="https://developers.home.google.com/automations/eap/cse#understanding_yaml" target="_blank" rel="noopener"&gt;this link&lt;/A&gt;&lt;SPAN&gt; to learn more about YAML&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 15:22:15 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/671677#M51090</guid>
      <dc:creator>EmptyNester</dc:creator>
      <dc:date>2025-01-23T15:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/671715#M51092</link>
      <description>&lt;P&gt;What is it about the error you don't understand? What is it about the error you do understand?&lt;BR /&gt;Please pay very close attention to spacing (text that is in blue) and device settings/names (text that is in green). In my situation, I'm turing on two different fans, that is why there is two "- type:" in the actions section. You need to customize the code for your device names and your situation. When requesting help, please explain what you have tried, what documentation you read, what lines in the documentation you thought was useful. We all have the ability to type in simple text, especially with Googles built in code suggestions. If there are terms you don't understand (i.e. spacing or indention), search for a response, often times the answer is only one search away.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="youngkrs_0-1737652274048.png" style="width: 400px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/54786i3659061A6E4E7842/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="youngkrs_0-1737652274048.png" alt="youngkrs_0-1737652274048.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 17:16:11 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/671715#M51092</guid>
      <dc:creator>youngkrs</dc:creator>
      <dc:date>2025-01-23T17:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/671816#M51097</link>
      <description>&lt;P&gt;Thanks for the extra info. I got it figured out and all is working now. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 23:52:56 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/671816#M51097</guid>
      <dc:creator>EmptyNester</dc:creator>
      <dc:date>2025-01-23T23:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/672386#M51142</link>
      <description>&lt;P&gt;Glad it worked out. Do you mind marking my response as the recommended answer?&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2025 03:54:56 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/672386#M51142</guid>
      <dc:creator>youngkrs</dc:creator>
      <dc:date>2025-01-26T03:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/709356#M54757</link>
      <description>&lt;P&gt;&lt;A href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/632349" target="_self"&gt;&lt;SPAN class=""&gt;youngkrs&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;First off, I'm totally new to writing Home automatons and I'm basically trying to do what you have scripted.&amp;nbsp; I'm trying to power a smart plug, to which I'm connecting a diffuser to, that I only want powered while the HVAC fan is running, heat or cooling.&amp;nbsp; I used your example to create the automation that powers the plug and it works perfectly.&amp;nbsp; However, the automation I created to turn the plugs power off will only work the the first time after activating it, and will then no longer get tripped.&amp;nbsp; Can I ask you for help?&amp;nbsp; My script is below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;metadata:&lt;BR /&gt;name: Diffuser power off&lt;BR /&gt;description: Turns off power to diffuser smart plug&lt;/P&gt;&lt;P&gt;automations:&lt;BR /&gt;# ---- STARTERS ---- #&lt;BR /&gt;starters:&lt;BR /&gt;- type: device.state.TemperatureSetting&lt;BR /&gt;device: Thermostat - Hallway&lt;BR /&gt;state: activeThermostatMode&lt;BR /&gt;isNot: heat&lt;/P&gt;&lt;P&gt;# ---- CONDITIONS ---- #&lt;BR /&gt;condition:&lt;BR /&gt;type: device.state.OnOff&lt;BR /&gt;device: Diffuser smart plug - Garage&lt;BR /&gt;state: on&lt;BR /&gt;is: true&lt;/P&gt;&lt;P&gt;# ---- ACTIONS ---- #&lt;BR /&gt;actions:&lt;BR /&gt;- type: device.command.OnOff # Turn the device on or off.&lt;BR /&gt;# Whether to turn the device on or off.&lt;BR /&gt;on: false&lt;BR /&gt;devices: Diffuser smart plug - Garage&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 18:55:13 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/709356#M54757</guid>
      <dc:creator>Wetbrat</dc:creator>
      <dc:date>2025-04-02T18:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can Automation make my ceiling fan turn on when the Nest Thermostats turns on the Heat?</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/709364#M54758</link>
      <description>&lt;P&gt;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/708839"&gt;@Wetbrat&lt;/a&gt;&amp;nbsp;- Is this a Nest Thermostat? If it isn't a Nest device, the values for&amp;nbsp;&lt;SPAN&gt;activeThermostatMode may be slightly different than Nest at the exact moment that the thermostat turns off.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you see a timestamp (Automation Started By) at the moment the HVAC blower turns off? This will help determine if the issue is with the trigger/starter or the condition.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;One area I recommend investigating is the "Execution Logs" (clock icon with arrow) at the bottom of the Script Editor screen and above the Save and Validate buttons.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally - What have you tried to debug? Remove the Condition section entirely? Have you tried to set a 1 minute timer trigger to then turn off the smart plug? Think of a few different approaches/triggers to "turn off" the switch&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="youngkrs_0-1743623309473.png" style="width: 400px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/55913i1200EF06599A2827/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="youngkrs_0-1743623309473.png" alt="youngkrs_0-1743623309473.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 19:56:45 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Can-Automation-make-my-ceiling-fan-turn-on-when-the-Nest-Thermostats-turns/m-p/709364#M54758</guid>
      <dc:creator>youngkrs</dc:creator>
      <dc:date>2025-04-02T19:56:45Z</dc:date>
    </item>
  </channel>
</rss>

