# Scenes if then else

**URL:** <https://forum.ewelink.cc/t/scenes-if-then-else/9306>\
**Category:** Free discussion\
**Tags:** scene\
**Created:** [November 29, 2022, 11:32am UTC](https://forum.ewelink.cc/t/scenes-if-then-else/9306 "2022-11-29T11:32:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![p.m.chevalier](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@p.m.chevalier](https://forum.ewelink.cc/u/p.m.chevalier)\
**Post date:** [November 29, 2022, 11:32am UTC](https://forum.ewelink.cc/t/scenes-if-then-else/9306/1 "2022-11-29T11:32:27Z")

</div>

hello  
to create a scene there is the condition “IF” and the action “THEN”  
if i want to check the temperature i say “IF temp \>= 19 THEN Relay 1 OFF”  
I would like to do “ELSE Relay 1 ON”  
how to do  
Cordially

---

<div class="post-metadata">

**Author:** ![HeisenBerg](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/heisenberg/32/494_2.png) [@HeisenBerg](https://forum.ewelink.cc/u/HeisenBerg)\
**Post date:** [November 30, 2022, 9:52am UTC](https://forum.ewelink.cc/t/scenes-if-then-else/9306/2 "2022-11-30T09:52:42Z")

</div>

Try IFTTT, eWeLink doesn’t support ‘else’ logic.

---

<div class="post-metadata">

**Author:** ![p.m.chevalier](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@p.m.chevalier](https://forum.ewelink.cc/u/p.m.chevalier)\
**Post date:** [November 30, 2022, 10:38am UTC](https://forum.ewelink.cc/t/scenes-if-then-else/9306/3 "2022-11-30T10:38:06Z")

</div>

thank you  
do you have an example

---

<div class="post-metadata">

**Author:** ![p.m.chevalier](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@p.m.chevalier](https://forum.ewelink.cc/u/p.m.chevalier)\
**Post date:** [November 30, 2022, 11:27am UTC](https://forum.ewelink.cc/t/scenes-if-then-else/9306/4 "2022-11-30T11:27:55Z")

</div>

why in the conditions to test the temperature we can only enter an integer ex: 19 and not ex: 19.5
