index: set device auto attribute to correct value