Thanks for the replies. Recollection of Devas is interesting but not exactly what I was thinking of, as it is more passive if you see what I mean. I was more thinking of examples like DN 20, where these beings are specifically interacted with. Maybe there is nothing else, I have no idea. There is an attitude I have encountered from several monastic teachers that if you help devas, give them Dhamma, respect and so on they will protect you, and that there are Devas devoted to protection of the Dhamma generally. Does this attitude find its roots in the Pali Canon, and if so, where?
"If beings knew, as I know, the results of giving & sharing, they would not eat without having given, nor would the stain of miserliness overcome their minds. Even if it were their last bite, their last mouthful, they would not eat without having shared."