add pin_number on devices index