def METHOD_NAME(self):
    try:
        file = "/sys/bus/i2c/devices/i2c-{}/delete_device".format(10 + self.index - 1)
        with open(file, 'w') as f:
            f.write("0x56\n")
    except (IOError, OSError):
        pass
    try:
        file = "/sys/bus/i2c/devices/i2c-{}/delete_device".format(10 + self.index - 1)
        with open(file, 'w') as f:
            f.write("0x5e\n")
    except (IOError, OSError):
        pass
    try:
        file = "/sys/bus/i2c/devices/i2c-{}/new_device".format(10 + self.index - 1)
        with open(file, 'w') as f:
            f.write('24c02 0x56\n')
        file = "/sys/bus/i2c/devices/i2c-{}/new_device".format(10 + self.index - 1)
        with open(file, 'w') as f:
            f.write('dps460 0x5e\n')
    except (IOError, OSError):
        pass