code: def add_x10_device(self, housecode, unitcode, dev_type):
          
          device = None
          try:
              device = self.plm.devices.add_x10_device(self.plm, housecode,
                                                       unitcode, dev_type)
          except ValueError:
              pass
          return device
docs: Add an X10 device to the PLM.