code: def create_x10(plm, housecode, unitcode, feature):
      
      from insteonplm.devices.ipdb import IPDB
      ipdb = IPDB()
      product = ipdb.x10(feature)
      deviceclass = product.deviceclass
      device = None
      if deviceclass:
          device = deviceclass(plm, housecode, unitcode)
      return device
docs: Create an X10 device from a feature definition.