Resetting 'history_stats' sensor

I’m using history_stats sensor component to count the watched episodes in the bedroom. I want HA to stop Plex playing after 3 episodes, and turn off the TV.
Tracking the episodes works, but I would like this sensor to be resetted every day at 8pm. How do I do this?

never mind.

start: ‘{{ now().replace(hour=20).replace(minute=0).replace(second=0) }}’ :slight_smile: