platypush.backend.sensor.distance

class platypush.backend.sensor.distance.SensorDistanceBackend(plugin=None, plugin_args=None, thresholds=None, tolerance=1e-07, poll_seconds=None, enabled_sensors=None, **kwargs)[source]

Backend to poll a distance sensor.

Requires:

get_measurement()[source]

get_measurement implementation