add_component¶
-
Sensor.
add_component
(component_to_add)[source]¶ Add a component to the sensor.
- Parameters
component_to_add (
SensorComponent
) – The component to add to the sensor.- Returns
:class:`SensorComponent`
- Return type
The component added.