Home app: Automate actions based on temperature sensor?

I’m using the Home app on two iPhones and an iMac. It basically works but I haven’t figured out how to do this:


I want to periodically check a temperature sensor and take an action (or not) depending on the reading. (I do NOT want to take action based on a temperature change alert.)


Is this possible? If so, how do I do it?


thank you

Posted on Nov 18, 2025 6:04 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 18, 2025 12:33 PM

In the Home app (on either the iPhone or Mac):


  • Tap Automation
  • Tap Create New Automation
  • Choose A Time of Day Occurs
  • Tap the time to set it to, let's say 2 PM (as an example)
  • Tap Next
  • Scroll all the way down and choose Convert to Shortcut
  • Search "Get state" and add the action
  • Tap Accessory State (in the Get State action)
  • Choose your temperature sensor and tap the check mark in the upper right
  • Add the "If" action. It should automatically pick the temperature sensor as input
  • Choose how to test the temperature (greater than, lower than...)
  • Add the actions to take in the "If" block to take.


Here is what it should look like:



Repeat the same procedure to create a new home automation but this time choose 6 PM (4 hours after 2 PM) for the time the automation should trigger.

4 replies
Question marked as Top-ranking reply

Nov 18, 2025 12:33 PM in response to Dogenfrost

In the Home app (on either the iPhone or Mac):


  • Tap Automation
  • Tap Create New Automation
  • Choose A Time of Day Occurs
  • Tap the time to set it to, let's say 2 PM (as an example)
  • Tap Next
  • Scroll all the way down and choose Convert to Shortcut
  • Search "Get state" and add the action
  • Tap Accessory State (in the Get State action)
  • Choose your temperature sensor and tap the check mark in the upper right
  • Add the "If" action. It should automatically pick the temperature sensor as input
  • Choose how to test the temperature (greater than, lower than...)
  • Add the actions to take in the "If" block to take.


Here is what it should look like:



Repeat the same procedure to create a new home automation but this time choose 6 PM (4 hours after 2 PM) for the time the automation should trigger.

Home app: Automate actions based on temperature sensor?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.