def turnAlarm(on):
    'write command into file - pass enable/disable command'
    print(('turn alarm on? %s' % on))
    enable = on
    disable = (not on)
    alarm = AlarmService()
    alarm.load()
    alarm.save(enable, disable)
    return True
write command into file - pass enable/disable command
def turnAlarm(on):
    
    print(('turn alarm on? %s' % on))
    enable = on
    disable = (not on)
    alarm = AlarmService()
    alarm.load()
    alarm.save(enable, disable)
    return True