Eventor and blynk, digital/virtual pin

Buenas noches, estoy con un proyecto en el cual tengo que usar eventor del blynk. Estoy usando un wemos pro mini. mediante este programa que pongo a continuación, mi intencion es cambiar lo digital por virtual para que de esta manera eventor me lo detecte. Tal y como lo pongo a continuacion no me lo reconoce la aplicacion.
En la aplicacion estoy usando esta configuracion:
When V7 is higher than 1023 turn on d1
When V8 is higher than 1023 turn on d2

Y por aqui dejo el programa:

#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

char auth[] = "xxxxxxx";
char ssid[] = "xxxxxxx";
char pass[] = "xxxxxxx";

const int riego1 = D7;
const int riego2 = D8;

int riego1State = 0;
int riego2State = 0;

void setup() {
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
pinMode(riego1, INPUT);
pinMode(riego2, INPUT);
digitalWrite(riego1, riego1State);
digitalWrite(riego2, riego2State);
}

void loop() {
Blynk.run();
riego1State = digitalRead(riego1);
riego2State = digitalRead(riego2);
}
BLYNK_READ(V7) 
{
  if (riego1State == HIGH){ 
  
     Blynk.virtualWrite(7, HIGH);
  }
  else
  {
     Blynk.virtualWrite(7, LOW);
  }
}
BLYNK_READ(V8)
{
  if (riego2State == HIGH){ 
  
     Blynk.virtualWrite(8, HIGH);
  }
  else
  {
     Blynk.virtualWrite(8, LOW);
  }
} ```

@Nek166 please edit your post, using the pencil icon at the bottom, and remove the blockquotes from your code and put triple backticks at the beginning and end of each sketch so that it displays correctly.
Triple backticks look like this:
```

Copy and paste them if necessary.

Pete.

Okey I have modified. Is my first time posting here.

Why are you using eventor?

Pete.

Because I think is the best option to automate…

In my opinion, you’re far better off doing the automation on the hardware side (in the sketch) not in the app.

Also, if you ever want to use the app on iOS then it won’t work, as there is no Eventor in iOS.

Pete.