This was a small part of E.T.A. Hoffmann's story "The Sandman" - I recognized it instantly. 

I actually thought it was an Austrian Folktale - Krampus, after all, but no, this is all Hoffmann...

Smart Search