How to update Button widget on Hardware timeout

I got a question with Button widget updates when Hardware times out.

  • The button on App gets turned on manually. Going to position ON.

  • The Hardware receives the information and starts some actions.

  • Together with that, a Timer starts, controled by Hardware software.

  • When Hardware software times out, the Hardware turns off the stuffs.

  • On that timeout, I sent update to LED OFF widget on App. This works.

  • The problem :

I thought I should send an update to button widget, set it o Zero value.
Blynk.virtualWrite(V1,0);
delay(10000); // just give time to update the App

That turns off the button on App. Going to position OFF. ok
But the software, in loop that read the botton on App

`BLYNK_WRITE(V1)`
`     {`
   `       teclaAciona = param.asInt(); // Get the state of the VButton`
`     }`

Continue reading value TRUE or 1, that means the button on App is still ON.
And the Hardware software turns on the stuffs, thinking someone typed the button again. When it should remain off due to timeout.

So, am I handling it wrongly ?

Thanks.