TPLink Kava Consumption below falsely triggered

I have a WiFi switch that is monitoring power usage and it gives me the output of the current consumption. Alongside that, I have an automation that monitors if the washing machine has gone below a certain wattage for 5 minutes before it sends a message to mobile devices saying the washing machine has finished. The automation seems to work fine.

However, occasionally the WiFi switch drops off from the WiFi network and then reconnects sometime later. For some reason, even though the wattage stays at say 4W, and the trigger is set to below 5W, after 5 minutes of reconnecting the automation is set off when it never went above the 5W threshold.

How can I fix this?

alias: State - Washing Machine Finished
description: ''
trigger:
  - platform: numeric_state
    entity_id: sensor.washing_machine_dryer_current_consumption
    below: '5'
    for:
      hours: 0
      minutes: 5
      seconds: 0
      milliseconds: 0
condition: []
action:
  - service: notify.mobile_app_nathaniel_mobile
    data:
      message: The washing machine has finished
      title: Washing Machine
mode: single