The use case here seems to be catch an integer value that is most common, not to time-smooth a signal, but I could be wrong. I don’t know an easy way to do this, but I would put in a feature request for mode to be added to the statistics sensor. This seems like a straightforward addition.
@123 - yes, have been trying to use filter sensor but have only seen average and median, or first value in a given time period but that doesn’t help unfortunately unless someone knows how I can use it as the documentation is not the clearest
@MatthewFlamm exactly - I was hoping that I could identify the most common vs. time-smooth, averages etc. I may try the statistics sensor with a max age of 10 seconds and see if median works for my purposes (even if variance is high, so long as over 50% of values are the one I am looking for it might work), but yes probably a feature request if no existing capability