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 executiondevice (
st.zigbee.Device) – The device this message was received from containing identifying informationcommand (
CapabilityCommand) – The capability command table
- static set_preset_position_cmd(driver, device, command)
Issue a set preset position command to the specified device. (Sets the preset position)
- Parameters
driver (
st.zwave.Driver) –device (
st.zwave.Device) –command (
table) – ST level capability command