# Expand the logic card

**URL:** <https://community.homey.app/t/expand-the-logic-card/74116>\
**Category:** Ideas & Suggestions\
**Created:** [December 25, 2022, 10:07pm UTC](https://community.homey.app/t/expand-the-logic-card/74116 "2022-12-25T22:07:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mackelito](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mackelito/32/8243_2.png) [@Mackelito](https://community.homey.app/u/Mackelito)\
**Post date:** [December 25, 2022, 10:07pm UTC](https://community.homey.app/t/expand-the-logic-card/74116/1 "2022-12-25T22:07:56Z")

</div>

I want to fetch some data from a API and then check if it’s A or B… if yes then do x.  
But today I seem to need to do that in separate cards?

Plz add the option to have an or operator on the logic card

---

<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:** [December 25, 2022, 10:12pm UTC](https://community.homey.app/t/expand-the-logic-card/74116/2 "2022-12-25T22:12:53Z")

</div>

can you share an example of the Flow you are working on?  
Maybe someone here can help you and show how it is already possible.  
else you should should give enough info and let it know Athom so they see the benefit and implement is.  
Putting this here is not enough for a feature request.

---

<div class="post-metadata">

**Author:** ![Mackelito](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mackelito/32/8243_2.png) [@Mackelito](https://community.homey.app/u/Mackelito)\
**Post date:** [December 25, 2022, 10:17pm UTC](https://community.homey.app/t/expand-the-logic-card/74116/3 "2022-12-25T22:17:55Z")

</div>

Check current price on electricity, if price is very cheap, cheap or normal then start heating the house…

---

<div class="post-metadata">

**Author:** ![Mackelito](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mackelito/32/8243_2.png) [@Mackelito](https://community.homey.app/u/Mackelito)\
**Post date:** [December 25, 2022, 10:21pm UTC](https://community.homey.app/t/expand-the-logic-card/74116/4 "2022-12-25T22:21:01Z")

</div>

It should be easier to build simple logic like this… common operators like bigger than, smaller then should be available and be possible to use together with others…  
Like if price is cheap and temperature is less then 18 and day is weekday…

---

<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:** [December 25, 2022, 10:32pm UTC](https://community.homey.app/t/expand-the-logic-card/74116/5 "2022-12-25T22:32:52Z")

</div>

are you using PBTH [[APP][Pro] Power by the Hour: Insights per hour, day, month and year](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535)  
or Tibber for that ?

---

<div class="post-metadata">

**Author:** ![Hamster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hamster/32/16580_2.png) [@Hamster](https://community.homey.app/u/Hamster)\
**Post date:** [December 27, 2022, 7:44pm UTC](https://community.homey.app/t/expand-the-logic-card/74116/6 "2022-12-27T19:44:52Z")

</div>

Something like this?

 ![Screenshot_20221227_204355_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/3/b3575a6beb5c8d0d2e76597267c6a15b7fb1b83e.jpeg)

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [December 27, 2022, 7:46pm UTC](https://community.homey.app/t/expand-the-logic-card/74116/7 "2022-12-27T19:46:20Z")

</div>

> [@Hamster](#):
>
> Something like this?

That’s exactly what they _don’t_ want (_“But today I seem to need to do that in separate cards”_).

---

<div class="post-metadata">

**Author:** ![Mackelito](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mackelito/32/8243_2.png) [@Mackelito](https://community.homey.app/u/Mackelito)\
**Post date:** [December 27, 2022, 10:50pm UTC](https://community.homey.app/t/expand-the-logic-card/74116/8 "2022-12-27T22:50:09Z")

</div>

Just to be able to have the logic check for variableA | variableB | variableC etc etc…
