Hi all, what is the best way to actually capture that a certain pattern in power consumption happened (the sensor is device_class: power, state_class: measurement, and measurement_unit: W) so that I can detect the end of e.g. a washing cycle. The cycles are always a bit different depending on the program and the load so I was thinking about an ML model that one could train with a number of these patterns and then tell it what the end of the cycle is in the training. Any best practices or experiences out there how to do that in HA?
Here are a few washing cycles from the past week:
and here are two from today zoomed in a bit more.