Versions in this module Expand all Collapse all v0 v0.1.0 Sep 3, 2026 Changes in this version + func BeijingNow() time.Time + func DriftMin(hour, min int, bj time.Time) float64 + func ParseEvent(line string) (string, bool) + func SlotLabel(s int) string + func StateLabel(s int) string + type Adapter struct + func (a *Adapter) Capabilities() []model.Capability + func (a *Adapter) Descriptor(cfg driverkit.Config) model.Descriptor + func (a *Adapter) Name() string + func (a *Adapter) Open(ctx context.Context, cfg driverkit.Config, onEvent func(driverkit.Event)) (driverkit.Device, error) + func (a *Adapter) SupportedCommands() []string + type Dump struct + Hour int + Min int + Raw string + Slots [3]int + State int + func ParseDump(line string) (Dump, bool)