jacdac.light_level

Submodules

Package Contents

Classes

LightLevelClient

A sensor that measures luminosity level.

class jacdac.light_level.LightLevelClient(bus: jacdac.bus.Bus, role: str, *, missing_light_level_value: Optional[float] = None)

Bases: jacdac.bus.SensorClient

A sensor that measures luminosity level. Implements a client for the Light level service.

property light_level Optional[float]

Detect light level, _: /

property light_level_error Optional[float]

(Optional) Absolute estimated error of the reading value, _: /

property variant Optional[jacdac.light_level.constants.LightLevelVariant]

(Optional) The type of physical sensor.,