Well........our birds sleep in their cages on the verandah. Every night I go out and say "time for bed" and cover their cages, and say "good night".
Our fish sleep in their tank, and they know its bed time, because we turn off the aquarium light.
Our dog, is a Marema, a dog bred to guard small stock. We are his flock, and once we are both in bed, he positions himself on the floor beside the bed and does not leave us until we get up in the morning.