# Homey must tell a sentence when a window is open and the temperature inside is higher than outside

**URL:** <https://community.homey.app/t/homey-must-tell-a-sentence-when-a-window-is-open-and-the-temperature-inside-is-higher-than-outside/34188>\
**Category:** Flows\
**Tags:** flow\
**Created:** [August 30, 2020, 6:06pm UTC](https://community.homey.app/t/homey-must-tell-a-sentence-when-a-window-is-open-and-the-temperature-inside-is-higher-than-outside/34188 "2020-08-30T18:06:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yann\_Mottaz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yann_mottaz/32/28597_2.png) [@Yann\_Mottaz](https://community.homey.app/u/Yann_Mottaz)\
**Post date:** [August 30, 2020, 6:06pm UTC](https://community.homey.app/t/homey-must-tell-a-sentence-when-a-window-is-open-and-the-temperature-inside-is-higher-than-outside/34188/1 "2020-08-30T18:06:29Z")

</div>

Hi, I’m a new Homey User.  
I want to create a flow and don’t know how to set it up.  
Material :  
Temperature sensor inside the house  
Temperature sensor outside the house  
Door sensor

The idea is :  
If the door is open and the temperature outside (from the outside temperature sensor) is higher than the temperature inside (from the inside temperature sensor), homey will say a text like “Temperature is to high, please close the door”.

If someone could help me.

Thanks a lot

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [August 30, 2020, 6:41pm UTC](https://community.homey.app/t/homey-must-tell-a-sentence-when-a-window-is-open-and-the-temperature-inside-is-higher-than-outside/34188/2 "2020-08-30T18:41:34Z")

</div>

Guess you gave the answer yourself

First temperature tag in logic is the local tag from the trigger. The second temperature tag is from the living room temperature.

---

<div class="post-metadata">

**Author:** ![Yann\_Mottaz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yann_mottaz/32/28597_2.png) [@Yann\_Mottaz](https://community.homey.app/u/Yann_Mottaz)\
**Post date:** [August 31, 2020, 4:44pm UTC](https://community.homey.app/t/homey-must-tell-a-sentence-when-a-window-is-open-and-the-temperature-inside-is-higher-than-outside/34188/3 "2020-08-31T16:44:18Z")

</div>

Thanks a lot for your help

Kind regards
