|  Developer
Updated on May 17, 2022

update_device_status()

  • Update device status for a specified device (device is specified by id).
Edit
  • params: device id (string), status (string).
  • return: none.
Edit
				
					require "core"

local status = "broken"
core.update_device_status( "dev_id", ready )