def local_action_activate(x = None):
  '''{ "title": "Turn on", "desc": "Turn on." }'''
  queue.put({'function': 'remote_action_PowerOn', 'delay': 120})
  queue.put({'function': 'remote_action_SetInput', 'arg':{"source":"DIGITAL", "number":1}, 'delay': 5})
  print 'Activated'