Skip to content

State

busylight_core.vendors.kuando.implementation.state

Kuando Busylight device state management.

This module defines the State class that manages the complete command sequence for Kuando Busylight devices, including the execution steps and command footer.

Classes

busylight_core.vendors.kuando.implementation.state.State

State()

Complete device state for Kuando Busylight commands.

The State class manages the full command sequence sent to Kuando devices. It consists of 7 execution steps and a footer with checksum validation. The state is serialized to bytes for transmission to the hardware.

Source code in src/busylight_core/vendors/kuando/implementation/state.py
def __init__(self) -> None:
    self.steps = [Step() for _ in range(7)]
    self.footer = Footer()
    self.struct = struct.Struct("!8Q")
Attributes
busylight_core.vendors.kuando.implementation.state.State.steps instance-attribute
steps = [Step() for _ in range(7)]
busylight_core.vendors.kuando.implementation.state.State.footer instance-attribute
footer = Footer()
busylight_core.vendors.kuando.implementation.state.State.struct instance-attribute
struct = Struct('!8Q')