Smart Wifi plug with power monitoring automation

Hi All,

I have a Brilliant Wifi Smart Plug with power monitoring setup via LocalTyula and HACS. I am able to see the current and Current Consumption views in the Attributes of the Power Monitoring Switch and i’ve tested that it indeed updates the current consumption. i’ve connected the washing machine to the smart plug but i’m not able to get the automation to work:


alias: Washing Completed
description: ''
trigger:
  - platform: numeric_state
    entity_id: switch.powermonitorswitch
    attribute: current_consumption
    for:
      hours: 0
      minutes: 0
      seconds: 10
      milliseconds: 0
    below: '1'
condition: []
action:
  - service: notify.notify
    data:
      message: Washing Complete
  - service: tts.google_say
    data:
      entity_id: media_player.leftwingofhouse
      message: Washing is Done
mode: single

SOLVED: This automation actually works. not sure why it didn’t trigger the first time.

Hi, I have tuya smart plug connected to HA via local tuya but the power consupmtion doesn’t update. can you helpow ith how you setup your plug to specifically this stage: