jacdac.light_bulb

Submodules

Package Contents

Classes

LightBulbClient

A light bulb controller.

class jacdac.light_bulb.LightBulbClient(bus: jacdac.bus.Bus, role: str)

Bases: jacdac.bus.Client

A light bulb controller. Implements a client for the Light bulb service.

property brightness Optional[float]

Indicates the brightness of the light bulb. Zero means completely off and 0xffff means completely on. For non-dimmable lights, the value should be clamp to 0xffff for any non-zero value., _: /

property dimmable Optional[bool]

(Optional) Indicates if the light supports dimming.,