|  Developer
Updated on May 17, 2022

set_setting_dictionary_value()

  • Add/Update/Remove value of a setting dictionary value. Generic ZWave configuration parameters are to be added as elements of the single grouping setting of type dictionary.zwave_device_configuration
Edit

  • params: setting_id (string), key (string), value(table)
  • return: nothing
Edit
				
					require "core"

core.set_setting_dictionary_value(setting_id, "abc", { ... }) -- New key - add
core.set_setting_dictionary_value(setting_id, "abc", { ... }) -- Existing key - update
core.set_setting_dictionary_value(setting_id, "abc", {}) -- Empty value - remove