Log events blynk 2.0

@Dmitriy @PeteKnight It doesn’t work for me either, I’ve tried everything with high and true doesn’t work


// Fill-in information from your Blynk Template here
#define BLYNK_TEMPLATE_ID "lol"
#define BLYNK_DEVICE_NAME "TEST 2gtz8"
#define BLYNK_AUTH_TOKEN "gtzK4_xd_Vl_3";

#define BLYNK_FIRMWARE_VERSION        "0.1.0"

#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG

#define APP_DEBUG

// Uncomment your board, or configure a custom board in Settings.h
//#define USE_SPARKFUN_BLYNK_BOARD
//#define USE_NODE_MCU_BOARD
//#define USE_WITTY_CLOUD_BOARD
#define USE_WEMOS_D1_MINI

#include "BlynkEdgent.h"
int value = 0;
int sensorValue1 = 0;
int sensorPin1 = A0;

BlynkTimer timer;
void setup()
{
  Serial.begin(115200);
  delay(100);
  pinMode(sensorPin1, INPUT);
timer.setInterval(2000L, Messungbox);
  BlynkEdgent.begin();
}
void Messungbox(){
  sensorValue1 = analogRead(sensorPin1);
   Blynk.virtualWrite(V1, sensorValue1);         
  if(sensorValue1 >50 ){
        Blynk.logEvent("water");
      }
    }
void loop() {
  BlynkEdgent.run();
    timer.run();
}