Make logs intelligible for mere mortal! Trace entities?

Love HA and have learned so much - but the realm of logs and debug info remains a mysterious land. So much information and so little understanding.

‘Traces’ of automations and scripts has been a real boon. Could I set a temporary ‘trace’ for an entity, to log what/when causes that entity to change?

Apologies if this is already possible, but if so haven’t found it. History tells me of a state change, but not the cause.

Examples: Why did my Sonos speakers ungroup themselves earlier today? Why did my phone/ESPresense decide it was upstairs not downstairs for 5 seconds then correct itself?