code: def create(plm, address, cat, subcat, firmware=None):
      
      from insteonplm.devices.ipdb import IPDB
      ipdb = IPDB()
      product = ipdb[[cat, subcat]]
      deviceclass = product.deviceclass
      device = None
      if deviceclass is not None:
          device = deviceclass(plm, address, cat, subcat,
                               product.product_key,
                               product.description,
                               product.model)
      return device
docs: Create a device from device info data.