original_docstring: Return the device_info of the device.
docstring: Return the device_info of the device.
docstring_tokens: Return the device_info of the device .
code: def device_info(self):
          """Return the device_info of the device."""
          device_info = {
              "identifiers": {(DOMAIN, self._device.device_id)},
              "name": self.name,
              "manufacturer": MANUFACTURER,
              "sw_version": self._device.firmware_version,
          }
          model = KNOWN_MODELS.get(self._device.device_id[2:4])
          if model:
              device_info["model"] = model
  
          return device_info
code_tokens: def device_info ( self ) : device_info = { "identifiers" : { ( DOMAIN , self . _device . device_id ) } , "name" : self . name , "manufacturer" : MANUFACTURER , "sw_version" : self . _device . firmware_version , } model = KNOWN_MODELS . get ( self . _device . device_id [ 2 : 4 ] ) if model : device_info [ "model" ] = model return device_info
short_docstring: Return the device_info of the device.
short_docstring_tokens: Return the device_info of the device .
comment: """Return the device_info of the device."""