Roborock Cleaning Status Message Issue

Hello,

Below is what I’m using for my Roborock S6 vacuum status message. Problem is when it needs to charge in order to complete the job, I’ll get duplicate messages.

Is there a specific status for when the job is complete? Or is there a better way to approach this?

- alias: Vacuum Job Complete
  initial_state: true
  trigger:
    - platform: state
      entity_id: vacuum.s6
      from: 'returning'
      to: 'docked'
  action:
    - service: notify.bullet
      data:
        title: "Vacuum Complete"
        message: "Vacuum Complete"