How To Create A Template Sensor For Dishwasher Which Has Two Power Drops

I just realised I have the variable component installed. I can track the power draw so that real off is the second drop, when the variable is 2. This will also make for simple automations too by using a condition check on the variable.

Appreciate the different approaches from @m0wlheld and @eifinger, there is more than one way to do things with HA.

Full details are here