get_sensor

DbInventory.get_sensor(**kwargs)

Get a sensor from the inventory.

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

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

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

  • label (str) – The label of the sensor

Returns

The sensors matching the search criteria.

Return type

list of Sensor