jacdac.water_level

Submodules

Package Contents

Classes

WaterLevelClient

A sensor that measures liquid/water level.

class jacdac.water_level.WaterLevelClient(bus: jacdac.bus.Bus, role: str, *, missing_level_value: Optional[float] = None)

Bases: jacdac.bus.SensorClient

A sensor that measures liquid/water level. Implements a client for the Water level service.

property level Optional[float]

The reported water level., _: /

property level_error Optional[float]

(Optional) The error rage on the current reading, _: /

property variant Optional[jacdac.water_level.constants.WaterLevelVariant]

(Optional) The type of physical sensor.,