code: def get_device_info(self) -> Mapping[str, str]:
          '''
          Queries Temp-Deck for it's build version, model, and serial number
  
          returns: dict
              Where keys are the strings 'version', 'model', and 'serial',
              and each value is a string identifier
  
              {
                  'serial': '1aa11bb22',
                  'model': '1aa11bb22',
                  'version': '1aa11bb22'
              }
  
          Example input from Temp-Deck's serial response:
              "serial:aa11bb22 model:aa11bb22 version:aa11bb22"
          '''
          try:
              return self._recursive_get_info(DEFAULT_COMMAND_RETRIES)
          except (TempDeckError, SerialException, SerialNoResponse) as e:
              return {'error': str(e)f get_device_info(self) -> Mapping[str, str]:
          '''
          Queries Temp-Deck for it's build version, model, and serial number
  
          returns: dict
              Where keys are the strings 'version', 'model', and 'serial',
              and each value is a string identifier
  
              {
                  'serial': '1aa11bb22',
                  'model': '1aa11bb22',
                  'version': '1aa11bb22'
              }
  
          Example input from Temp-Deck's serial response:
              "serial:aa11bb22 model:aa11bb22 version:aa11bb22"
          '''
          try:
              return self._recursive_get_info(DEFAULT_COMMAND_RETRIES)
          except (TempDeckError, SerialException, SerialNoResponse) as e:
              return {'error': str(e)}
docs: Queries Temp-Deck for it's build version, model, and serial number
  
          returns: dict
              Where keys are the strings 'version', 'model', and 'serial',
              and each value is a string identifier
  
              {
                  'serial': '1aa11bb22',
                  'model': '1aa11bb22',
                  'version': '1aa11bb22'
              }
  
          Example input from Temp-Deck's serial response:
              "serial:aa11bb22 model:aa11bb22 version:aa11bb22"