pop_component_by_instance

DbSensor.pop_component_by_instance(component)

Remove a component from the sensor using the component instance.

Parameters

component (SensorComponent) – The component to remove.

Returns

:class:`SensorComponent`

Return type

The removed component.