def __init__(self, bs, device, sensor_name):
    'Initialize a bloomsky sensor.'
    self._bloomsky = bs
    self._device_id = device['DeviceID']
    self._sensor_name = sensor_name
    self._name = '{} {}'.format(device['DeviceName'], sensor_name)
    self._unique_id = 'bloomsky_sensor {}'.format(self._name)
    self.update()
Initialize a bloomsky sensor.
def __init__(self, bs, device, sensor_name):
    
    self._bloomsky = bs
    self._device_id = device['DeviceID']
    self._sensor_name = sensor_name
    self._name = '{} {}'.format(device['DeviceName'], sensor_name)
    self._unique_id = 'bloomsky_sensor {}'.format(self._name)
    self.update()