[TC Fixed] Changed the key value to get device type (#317)