get_component

Inventory.get_component(**kwargs)[source]

Get a component of a sensor from the inventory.

Keyword Arguments
  • serial (str) – The serial number of the sensor containing the component.

  • model (str) – The model of the sensor containing the component.

  • producer (str) – The producer of the sensor containing the component.

  • name (str) – The name of the component.

Returns

The sensor components matching the search criteria.

Return type

list of SensorComponent