ESPHOME, pulse meter incorrect readings

Tags: #<Tag:0x00007f3281606980> #<Tag:0x00007f3281606890>

I have a nodemcuv2 with a photoresistor on a pulse meter. The counting of the pulse is strange, because it is reading 600watt more than is has to be. The pulse light is the correct amout, when i do a check in the homewizard who use the same puls. So the have the same pulse reading but in Home Assistant de readings are more.
esphome:
,

esphome:
  name: solarmeter
  platform: ESP8266
  board: nodemcuv2

wifi:
  ssid: "Wifi"
  password: "key"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Solarmeter"
    password: "key"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:
  password: "key"

ota:
  password: "key"

# Enable Web server
web_server:
  port: 80

sensor:
  # Uptime sensor
  - platform: uptime
    name: Elec Meter Uptime
    

  # WiFi Signal sensor
  - platform: wifi_signal
    name: Elec Meter WiFi Signal
    update_interval: 1s
  
  #########################################
  #
  # Electricity usage
  #
  #########################################
    
  # usage right now in kW
  - platform: pulse_counter
    pin: D5
    unit_of_measurement: 'kW'
    name: 'Power Meter'
    id: power_meter
    filters:
       - multiply: 0.06
    
    
  # converts above to kWh used today
  - platform: total_daily_energy
    name: "Total Daily Energy test"
    power_id: power_meter
    id: kwh_so_far
    
switch:
  # Switch to restart
  - platform: restart
    name: Electricity meter monitor restart
    
# Sync time
time:
  - platform: sntp
    id: my_time

Who can help me to have good readings?

Thanks for the help.

Michel

please format your code properly. edit your post, select all of the code, then click the </> button to remove formatting.

Thanks, i didn’t know this.

I don’t get it, whats going on. I made a new Home assistant, from Pi to Nuc. Compleet new installation, but als i get the same wrong readings. If i count the pulses by my self, the pulses are correct, the ESP also has an LED and if I keep an eye on it, it simultaneously flashes if the Homewizard has. What is going wrong,