The lastfm sensor platform will allow you to see whenever a user starts scrobbling, their play count, last song played, and top song played on


To get an API key you need to create an API account.


To add the integration to your Home Assistant instance, use this My button: