Tuya API WiFi Breaker Values

Hello

I want to make a Tuya API call to change the value of a device.
I don’t want do decide if the device have to set true or false.

Thx Simon

Hi Simon:

When you’ve found the Tuya Cloud app topic, look for “RAW commands” in post #1
It’s all explained there.

That’s called toggle.
You can imitate this with a flow like this:
When…
-button is pressed
And…
-lampX is on
Then…
-turn off lampX
Else…
-turn on lampX