I created a profile that uses AutoInput to turn hotspot on/off. It just clicks the hotspot button. But now I'd like to add some smarts to it: To turn on, click the button only if it's already off. I run ui query and see the array element Off(). Since I see "Off" on the screen, I select it, name it "off". In ui query "Variables", I see: android:id/summary=:=off() I don't know what that means. I'm just trying to figure out how to create an if statement that will only click the button if it's off. Can someone point me in the right direction? Thanks!