<?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: Temperature Automation Script Doesn't Override Thermostat in Home Automation</title>
    <link>https://www.googlenestcommunity.com/t5/Home-Automation/Temperature-Automation-Script-Doesn-t-Override-Thermostat/m-p/637173#M47589</link>
    <description>&lt;P&gt;My only guess as to why your script isn't working as intended is that the thermostat is rejecting remote commands for a period of time after it's locally set. You could try adding a delay as your first action to see if that helps.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2024 12:58:08 GMT</pubDate>
    <dc:creator>GBD</dc:creator>
    <dc:date>2024-08-14T12:58:08Z</dc:date>
    <item>
      <title>Temperature Automation Script Doesn't Override Thermostat</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Temperature-Automation-Script-Doesn-t-Override-Thermostat/m-p/637098#M47581</link>
      <description>&lt;P&gt;I have a pretty basic script to only allow my Nest thermostat to be set down to 72 degrees.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;metadata:&lt;BR /&gt;  name: Turn Down the AC&lt;BR /&gt;  description: Enforce a Minimum AC Setting of 72F&lt;BR /&gt;automations:&lt;BR /&gt;  starters:&lt;BR /&gt;  - type: device.state.TemperatureSetting&lt;BR /&gt;    device: Thermostat - Dining Room&lt;BR /&gt;    state: thermostatTemperatureSetpoint&lt;BR /&gt;    lessThan: 72F&lt;BR /&gt;  condition:&lt;BR /&gt;    type: device.state.TemperatureSetting&lt;BR /&gt;    device: Thermostat - Dining Room&lt;BR /&gt;    state: thermostatMode&lt;BR /&gt;    is: cool&lt;BR /&gt;  actions:&lt;BR /&gt;    - type: device.command.ThermostatTemperatureSetpoint&lt;BR /&gt;    devices: Thermostat - Dining Room&lt;BR /&gt;    thermostatTemperatureSetpoint: 72F&lt;/PRE&gt;&lt;P&gt;The script seems correct to me, and when I set the temperature via the Nest app, everything works great. I set the temperature to 71, and within a second it changes back to 72. Perfect!&lt;/P&gt;&lt;P&gt;My problem is that it doesn't seem to do that when someone sets the physical thermostat.&lt;/P&gt;&lt;P&gt;It recognizes that the temperature has been changed to a trigger value:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;8/13/24 8:41:19 PM [INFO] Action succeeded for: [Thermostat].
8/13/24 8:41:18 PM [INFO] Automation check: conditions met.
8/13/24 8:41:18 PM [INFO] Starter check: conditions met.
8/13/24 8:41:17 PM [INFO] Automation started by: [Thermostat] because [home.graph.traits.TemperatureSetting/thermostat_mode] [string_value: "cool"].
8/13/24 8:41:17 PM [INFO] Automation started by: [Thermostat] because [home.graph.traits.TemperatureSetting/thermostat_temperature_setpoint] [float_value: 20.967682].
8/13/24 8:41:17 PM [INFO] Automation started by: [Thermostat] because [home.graph.traits.TemperatureSetting/thermostat_temperature_ambient] [float_value: 24.149994].
8/13/24 8:41:17 PM [INFO] Automation started by: [Thermostat] because [home.graph.traits.TemperatureSetting/thermostat_humidity_ambient] [float_value: 58.399994].
8/13/24 8:41:17 PM [INFO] Automation started by: [Thermostat] because [home.graph.traits.TemperatureSetting/active_thermostat_mode] [string_value: "cool"].
8/13/24 8:41:17 PM [INFO] Automation started by: [Thermostat] because [home.graph.traits.TemperatureSetting/target_temp_reached_estimate_unix_timestamp_sec] [long_value: 1723606875].&lt;/LI-CODE&gt;&lt;P&gt;But even though the log says that the action succeeded, the temperature is not changed back to 72. Am I missing something??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 01:09:50 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Temperature-Automation-Script-Doesn-t-Override-Thermostat/m-p/637098#M47581</guid>
      <dc:creator>JoelDKraft</dc:creator>
      <dc:date>2024-08-14T01:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Temperature Automation Script Doesn't Override Thermostat</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Temperature-Automation-Script-Doesn-t-Override-Thermostat/m-p/637173#M47589</link>
      <description>&lt;P&gt;My only guess as to why your script isn't working as intended is that the thermostat is rejecting remote commands for a period of time after it's locally set. You could try adding a delay as your first action to see if that helps.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 12:58:08 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Temperature-Automation-Script-Doesn-t-Override-Thermostat/m-p/637173#M47589</guid>
      <dc:creator>GBD</dc:creator>
      <dc:date>2024-08-14T12:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Temperature Automation Script Doesn't Override Thermostat</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Temperature-Automation-Script-Doesn-t-Override-Thermostat/m-p/637748#M47630</link>
      <description>&lt;P&gt;Of course now that you say it, this seems obvious. It could be that it's not accepting commands, though I would hope it would give an error in that circumstance. It could also be some sort of race condition during the turning of the dial where the change actually gets overridden immediately without firing another event.&lt;/P&gt;&lt;P&gt;In any case, I did put in the delay, and it seems to be working so far!&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2024 13:54:46 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Temperature-Automation-Script-Doesn-t-Override-Thermostat/m-p/637748#M47630</guid>
      <dc:creator>JoelDKraft</dc:creator>
      <dc:date>2024-08-17T13:54:46Z</dc:date>
    </item>
  </channel>
</rss>

