def transform(self, value, quality, timestamp): return value.title()
Tip: see Wiki - how to post code on this forum.