1 from Components.Converter.Converter import Converter
3 class SensorToText(Converter, object):
4 def __init__(self, arguments):
5 Converter.__init__(self, arguments)
8 if self.source.getValue() is None:
10 return "%d %s" % (self.source.getValue(), self.source.getUnit())
12 text = property(getText)