core.update_ready_state()
params: device id (string), ready (bool).
return: none.