Thanks! I think you mean esphome’s pulse_counter, correct? That would work, but how do you handle esphome & counter restarts to get the total? The only thing I saw is adding extra logic to store this, reload it, etc., which sounds like too many moving parts…