In this discourse about Bhaddiya, the Buddha says this:
“For he who has no agitations inside the mind,
Who has thus completely transcended continuity of existence,
The devas are unable to see
He who is without fear, happy, and griefless.”
I believe this is alluding to the fact that devas can read thoughts. One who is free from mental fermentations, however, is one without such thoughts. I also remember hearing the story of an old master who, showed up to a temple once, and was surprised there was a feast prepared for him, even though he did not say he was coming. The temple said that a deva had informed them the master would come, and the master was embarrassed saying “Were my thoughts obvious that a deva could see?”
Perhaps someone can help my understanding, here.