<?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: Notify when thermostat loose power or get disconnected in Smart Home Developer Forum</title>
    <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Notify-when-thermostat-loose-power-or-get-disconnected/m-p/739165#M9544</link>
    <description>&lt;P&gt;Thanks for your help and support dear&lt;/P&gt;&lt;P&gt;It's accepted and correct now&lt;/P&gt;&lt;P&gt;Just one edit:&lt;/P&gt;&lt;P&gt;Instead of:&amp;nbsp;&lt;SPAN&gt;state:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;isOnline&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Changed to:&amp;nbsp;state:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Online&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since it gave me error with the first one&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your time and efforts are highly appreciated&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Wish you a nice day&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Aug 2025 08:00:21 GMT</pubDate>
    <dc:creator>alkandery75</dc:creator>
    <dc:date>2025-08-28T08:00:21Z</dc:date>
    <item>
      <title>Notify when thermostat loose power or get disconnected</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Notify-when-thermostat-loose-power-or-get-disconnected/m-p/738305#M9485</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to create an automation to notify when thermostat loose power or get disconnected or not available:&lt;/P&gt;&lt;P&gt;===============&lt;/P&gt;&lt;P&gt;metadata:&lt;/P&gt;&lt;P&gt;&amp;nbsp; name: Roof Thermostat&lt;/P&gt;&lt;P&gt;&amp;nbsp; description: When Thermostat Roof is not available, get a notification&lt;/P&gt;&lt;P&gt;automations:&lt;/P&gt;&lt;P&gt;&amp;nbsp; - starters:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - type: device.state.OperationalState&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; device: Thermostat Roof - Roof&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; state: isOperational&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is: false&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; actions:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; - type: home.command.Notification&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; title: Notification&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; body: Thermostat Roof is not available&lt;/P&gt;&lt;P&gt;===============&lt;/P&gt;&lt;P&gt;Unfortunately, I'm getting error:&lt;/P&gt;&lt;P&gt;===============&lt;/P&gt;&lt;P&gt;[device.state.OperationalState] is an unknown type name. Expected types: [time.schedule, device.state, device.event, device.state.AppSelector, device.state.ArmDisarm, device.state.Brightness, device.state.Channel, device.state.ColorSetting, device.state.Cook, device.state.Dock, device.state.EnergyStorage, device.state.FanSpeed, device.state.Fill, device.state.HumiditySetting, device.state.InputSelector, device.state.LightEffects, device.state.LockUnlock, device.state.MediaState, device.state.MotionDetection, device.state.OccupancySensing, device.state.Online, device.state.OnOff, device.state.OpenClose, device.state.Record, device.state.Rotation, device.state.RunCycle, device.state.SensorState, device.state.StartStop, device.state.TemperatureControl, device.state.TemperatureSetting, device.state.Timer, device.state.Volume, device.event.DoorbellPress, device.event.MotionDetection, device.event.PersonDetection, device.event.PackageDelivered, device.event.AnimalOtherDetection, device.event.FaceFamiliarDetection, device.event.FaceUnfamiliarDetection, device.event.MovingVehicleDetection, device.event.Sound, device.event.PersonTalking, assistant.event.OkGoogle, home.state.HomePresence, etc].&lt;/P&gt;&lt;P&gt;===============&lt;/P&gt;&lt;P&gt;Please advise and help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 16:06:40 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Notify-when-thermostat-loose-power-or-get-disconnected/m-p/738305#M9485</guid>
      <dc:creator>alkandery75</dc:creator>
      <dc:date>2025-08-25T16:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Notify when thermostat loose power or get disconnected</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Notify-when-thermostat-loose-power-or-get-disconnected/m-p/739068#M9539</link>
      <description>&lt;P&gt;Thanks for sharing.&lt;/P&gt;
&lt;P&gt;Based on the error message, the issue is that &lt;CODE&gt;device.state.OperationalState&lt;/CODE&gt; is not a valid device state type for automations. The test is explicitly telling you what types it does recognize, such as &lt;CODE&gt;device.state.Online&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;To fix this, you should change the trigger type in your automation to use a supported state that indicates the device's availability.&lt;/P&gt;
&lt;P&gt;Try below script and let me know if it worked for you:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="selected"&gt;metadata: &lt;BR /&gt;name: Roof Thermostat &lt;BR /&gt;description: When Thermostat Roof is not available, get a notification&lt;BR /&gt;automations:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="selected"&gt;starters:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="selected"&gt;type: device.state.Online &lt;BR /&gt;device: Thermostat Roof - Roof &lt;BR /&gt;state: isOnline &lt;BR /&gt;is: false &lt;BR /&gt;actions:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="selected"&gt;type: home.command.Notification &lt;BR /&gt;title: Notification &lt;BR /&gt;body: Thermostat Roof is not available&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 23:51:52 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Notify-when-thermostat-loose-power-or-get-disconnected/m-p/739068#M9539</guid>
      <dc:creator>arm_dpe</dc:creator>
      <dc:date>2025-08-27T23:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Notify when thermostat loose power or get disconnected</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Notify-when-thermostat-loose-power-or-get-disconnected/m-p/739165#M9544</link>
      <description>&lt;P&gt;Thanks for your help and support dear&lt;/P&gt;&lt;P&gt;It's accepted and correct now&lt;/P&gt;&lt;P&gt;Just one edit:&lt;/P&gt;&lt;P&gt;Instead of:&amp;nbsp;&lt;SPAN&gt;state:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;isOnline&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Changed to:&amp;nbsp;state:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Online&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since it gave me error with the first one&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your time and efforts are highly appreciated&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Wish you a nice day&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2025 08:00:21 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Notify-when-thermostat-loose-power-or-get-disconnected/m-p/739165#M9544</guid>
      <dc:creator>alkandery75</dc:creator>
      <dc:date>2025-08-28T08:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Notify when thermostat loose power or get disconnected</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Notify-when-thermostat-loose-power-or-get-disconnected/m-p/739803#M9568</link>
      <description>&lt;UL&gt;&lt;LI&gt;Check circuits&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sat, 30 Aug 2025 17:24:03 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Notify-when-thermostat-loose-power-or-get-disconnected/m-p/739803#M9568</guid>
      <dc:creator>JamieTiana</dc:creator>
      <dc:date>2025-08-30T17:24:03Z</dc:date>
    </item>
  </channel>
</rss>

