I hope you're all doing well. I'm currently working on a project in App Inventor, and I'm facing some issues with my if/else statement. I've checked and rechecked my blocks, but for some reason, the logic doesn't seem to be working as expected.
Here's a brief overview of what I'm trying to achieve:
So when I initialize that screen, my buttons will read an state on my esp32. The request its actually working, but....
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/c/1/c13d0b19d2975ed695a062cfeaf0b9cdd0775002.png)
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/1/4/14f0bd7048e5173ec299232c715a53e160829091.png)
My if statement seems correct (or so I believe). Even though I receive a true or false response (I've printed it on a label and confirmed that the response is correct), it's not entering the correct branch; it always evaluates to false, or sometimes true.
I apologize if I broke any forum rules; I'm pretty new here.