|  Developer
Updated on November 12, 2021

update_reachable_state()

  • Update reachable state for a specified device and all items registered for this device (device is specified by id). 
Edit

  • params: device id (string), reachable (bool).
  • return: none.
Edit
				
					require "core"

reachable = true
core.update_reachable_state( dev_id, reachable )