Detecting washer/dryer status with energy monitor

I’m not about that specific power monitor, but I’m doing it with two Sonoff POWs. S31s would work equally well.

I have them flashed with tasmota so I get the power information over MQTT. From there I have a sensor for power, and a template sensor for if it’s “running” or not.

- platform: template
  sensors:
    washer_status:
      friendly_name: "Washing Machine Status"
      delay_on:
        minutes: 10
      delay_off:
        minutes: 3
      value_template: >-
        {{ states('sensor.Washer_power')|float > 10 }}
    dryer_status:
      friendly_name: "Dryer Status"
      delay_on:
        minutes: 10
      delay_off:
        minutes: 3
      value_template: >-
        {{ states('sensor.dryer_power')|float > 10 }}

Then an automation to send me a text message from IFTT and have my Echo Dot announce it:

- id: dryer_finished_notification
  alias: Dryer Finished Notification
  trigger:
    platform: state
    entity_id: binary_sensor.dryer_status
    to: 'off'
  action:
  - service: ifttt.trigger
    data: {"event":"DryerDoneAlm"}
  - service: media_player.alexa_tts
    data:
      entity_id: media_player.echo_dot, media_player.2nd_echo_dot
      message: "The dryer is finished now."