Way to search/filter logs for messages pertaining to a specific entity?

I was just wondering if there is a way to search/filter logs for messages that pertain to a specific entity.

(I’m trying to figure out why my August Lock randomly becomes unavailable every couple of days until I restart HA)

Thanks!