|  Developer
Updated on May 17, 2022

modify_setting()

  • Modify existing device setting fields. (only for migration)
Edit
  • params: setting_id (string), setting (table). Note, the following fields cannot be modified:
    • id
    • device_id
    • value
    • status
  • return : none.
Edit
				
					require "core"

core.modify_item( setting_id, { label = { text = "hello" }, ... } )>