@property
def name(self):
    'Return the name of the sensor.'
    if (self.stationname is None):
        return 'BOM {}'.format(SENSOR_TYPES[self._condition][0])
    return 'BOM {} {}'.format(self.stationname, SENSOR_TYPES[self._condition][0])
Return the name of the sensor.
@property
def name(self):
    
    if (self.stationname is None):
        return 'BOM {}'.format(SENSOR_TYPES[self._condition][0])
    return 'BOM {} {}'.format(self.stationname, SENSOR_TYPES[self._condition][0])