try the history statistics component
You may need to turn the media_player source attribute into a template sensor to use the history statistics on it.
Either way, that component can get you a duration of use on the media player.
try the history statistics component
You may need to turn the media_player source attribute into a template sensor to use the history statistics on it.
Either way, that component can get you a duration of use on the media player.