<?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 Help with thermostat / smart plug automation script in Home Automation</title>
    <link>https://www.googlenestcommunity.com/t5/Home-Automation/Help-with-thermostat-smart-plug-automation-script/m-p/677617#M52267</link>
    <description>&lt;P&gt;I'm trying to setup an automation to turn a smart plug on / off (connected to small space heater) depending on temperature as read by thermostat. It will turn "on" when the temp registers below 65 as intended but last night I noticed that the temp had hit 66 and plug still wasn't turning off. I watched for about 10 minutes and nothing happened. I tried to run the script manually at that point and it still didn't turn off. Can anyone offer insight on why it isn't working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;metadata:
  name: Heater Automation
  description:
    Turn on the heater when the temperature goes below 65F and turn it off
    when the temperature goes above 64F.
automations:
  - starters:
      - type: device.state.TemperatureSetting
        device: Hallway-New - Hallway
        state: thermostatTemperatureAmbient
        lessThan: 65F
    actions:
      - type: device.command.OnOff
        devices:
          - Reid’s Heater - Reid’s Room
        on: true
  - starters:
      - type: device.state.TemperatureSetting
        device: Hallway-New - Hallway
        state: thermostatTemperatureAmbient
        greaterThan: 64F
    actions:
      - type: device.command.OnOff
        devices:
          - Reid’s Heater - Reid’s Room
        on: false&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2025 20:02:07 GMT</pubDate>
    <dc:creator>gruiz18</dc:creator>
    <dc:date>2025-02-12T20:02:07Z</dc:date>
    <item>
      <title>Help with thermostat / smart plug automation script</title>
      <link>https://www.googlenestcommunity.com/t5/Home-Automation/Help-with-thermostat-smart-plug-automation-script/m-p/677617#M52267</link>
      <description>&lt;P&gt;I'm trying to setup an automation to turn a smart plug on / off (connected to small space heater) depending on temperature as read by thermostat. It will turn "on" when the temp registers below 65 as intended but last night I noticed that the temp had hit 66 and plug still wasn't turning off. I watched for about 10 minutes and nothing happened. I tried to run the script manually at that point and it still didn't turn off. Can anyone offer insight on why it isn't working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;metadata:
  name: Heater Automation
  description:
    Turn on the heater when the temperature goes below 65F and turn it off
    when the temperature goes above 64F.
automations:
  - starters:
      - type: device.state.TemperatureSetting
        device: Hallway-New - Hallway
        state: thermostatTemperatureAmbient
        lessThan: 65F
    actions:
      - type: device.command.OnOff
        devices:
          - Reid’s Heater - Reid’s Room
        on: true
  - starters:
      - type: device.state.TemperatureSetting
        device: Hallway-New - Hallway
        state: thermostatTemperatureAmbient
        greaterThan: 64F
    actions:
      - type: device.command.OnOff
        devices:
          - Reid’s Heater - Reid’s Room
        on: false&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 20:02:07 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Home-Automation/Help-with-thermostat-smart-plug-automation-script/m-p/677617#M52267</guid>
      <dc:creator>gruiz18</dc:creator>
      <dc:date>2025-02-12T20:02:07Z</dc:date>
    </item>
  </channel>
</rss>

