WindowShadePreset

class st.zigbee.defaults.windowShadePreset
capability_handlers: table
PRESET_LEVEL: number

default value for preset level ex: 50

PRESET_LEVEL_KEY: str

Key for preset level

static window_shade_preset_cmd(driver, device, command)

Default Command handler for Window Shade Preset

Going to read from a field on the device if not found then default value PRESET_LEVEL

Parameters
  • driver (Driver) – The current driver running containing necessary context for execution

  • device (st.zigbee.Device) – The device this message was received from containing identifying information

  • command (CapabilityCommand) – The capability command table