Automation Production kwH of DSMR integration

Hi all,

Who could help me out? Have nicely the kWh production on dashboard and wish to create automation (visual) for enabling a boiler if value is above in example 2 kWh. But it don’t get it work properly with value ‘2’ or “2.0” or even “2000”. I don’t understand, find a screenshot attached, thanks in advance!!!

alias: "Zonnestroom boiler inschakelen "
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.electricity_meter_energy_production_tarif_1
condition:
  - condition: numeric_state
    entity_id: sensor.electricity_meter_energy_production_tarif_1
    above: 4
action:
  - service: notify.mobile_app_sm_g781b
    data:
      title: Stroom
      message: "Zonnestroom boiler inschakelen "
  - type: turn_on
    device_id: b36030ac909618d3d800bf8afa116d05
    entity_id: switch.plug_socket_1
    domain: switch
mode: single