|  Developer
Updated on March 28, 2023

switch_multilevel_level_change()

  • This command used to initiate a transition to a new level or stop an ongoing transition.
Edit
  • params:
    • node_id (int),
    • channel_id (int),
    • command (string),
    • duration in seconds (int) – optional
Edit
				
					require "zwave"

node_id = 2
channel_id = 0
command = "up"

zwave.switch_multilevel_level_change( node_id, channel_id, command )

zwave.switch_multilevel_level_change( node_id, channel_id, command, 50 )