'Initialize the sensor.'

def __init__(self, sleepiq_data, bed_id, side):

    sleepiq.SleepIQSensor.__init__(self, sleepiq_data, bed_id, side)
    self.type = sleepiq.IS_IN_BED
    self._state = None
    self._name = sleepiq.SENSOR_TYPES[self.type]
    self.update()
