Creating a colored light notification for dual dish washers?

I am trying to create an automation for my two dish washers in the island. Below are the issue I am running into.
Condition 1 which dish washer to load temporary color flashing red
Condition two if vibration for more than a 10 min turn blue for cleaning until no vibration detected then turn green.
Condition three if door opens for more than 5 min turn red for dirty. Until vibration is felt for more than 10 min.